1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ClientRequest.once - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">ClientRequest</a> / <a href="./once.html">once</a><br/>
<br/>
<h1>once</h1>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-error/index.html"><span class="identifier">Error</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code>
<p>Overrides <a href="../-event-emitter/once.html">EventEmitter.once</a></p>
<br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">authInfo</span><span class="symbol">:</span> <a href="../-auth-info/index.html"><span class="identifier">AuthInfo</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">username</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="identifier">password</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , kotlin.Any, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , kotlin.Any, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , kotlin.Any, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">statusCode</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span> <span class="identifier">method</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="identifier">redirectUrl</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <span class="identifier">responseHeaders</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.IncomingMessage, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.IncomingMessage, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.ClientRequest$once(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.IncomingMessage, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span> <a href="../-incoming-message/index.html"><span class="identifier">IncomingMessage</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ClientRequest</span></a></code>
</BODY>
</HTML>
|