Client Request
Constructors
Functions
Link copied to clipboard
open override fun addListener(event: String, listener: (<Error class: unknown class>) -> Unit): ClientRequest
Content copied to clipboard
open fun addListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
Content copied to clipboard
open fun addListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
Content copied to clipboard
open fun addListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Record<String, Array<String>>) -> Unit): ClientRequest
Content copied to clipboard
open fun addListener(event: String, listener: Function<*>): ClientRequest
Content copied to clipboard
open fun addListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun on(event: String, listener: (<Error class: unknown class>) -> Unit): ClientRequest
Content copied to clipboard
open fun on(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
Content copied to clipboard
open fun on(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
Content copied to clipboard
Link copied to clipboard
open override fun once(event: String, listener: (<Error class: unknown class>) -> Unit): ClientRequest
Content copied to clipboard
open fun once(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
Content copied to clipboard
open fun once(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
Content copied to clipboard
Link copied to clipboard
open fun prependListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun prependListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
Link copied to clipboard
open fun prependOnceListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
open fun prependOnceListener(event: String, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAllListeners(event: Any = definedExternally): EventEmitter
Content copied to clipboard
open fun removeAllListeners(event: String = definedExternally): EventEmitter
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeListener(event: String, listener: (<Error class: unknown class>) -> Unit): ClientRequest
Content copied to clipboard
open fun removeListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
Content copied to clipboard
open fun removeListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
Content copied to clipboard
open fun removeListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Record<String, Array<String>>) -> Unit): ClientRequest
Content copied to clipboard
open fun removeListener(event: String, listener: Function<*>): ClientRequest
Content copied to clipboard
open fun removeListener(event: Any, listener: (args: Any) -> Unit): EventEmitter
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard