kvision / pl.treksoft.kvision.electron / ClientRequest / once
once
(js)
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (error: Error) -> Unit): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun once(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun once(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest