diff options
Diffstat (limited to 'api/pl.treksoft.kvision.electron/-protocol')
16 files changed, 72 insertions, 167 deletions
diff --git a/api/pl.treksoft.kvision.electron/-protocol/index.html b/api/pl.treksoft.kvision.electron/-protocol/index.html index 01777b62..f2bbf4f1 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/index.html +++ b/api/pl.treksoft.kvision.electron/-protocol/index.html @@ -8,224 +8,129 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="./index.html">Protocol</a><br/> <br/> <h1>Protocol</h1> -<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">Protocol</span> <span class="symbol">:</span> <a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code> +(js) <code><span class="keyword">interface </span><span class="identifier">Protocol</span> <span class="symbol">:</span> <a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code> <h3>Functions</h3> <table> <tbody> <tr> <td> -<p><a href="intercept-buffer-protocol.html">interceptBufferProtocol</a></p> +(js) +<h4><a href="intercept-buffer-protocol.html">interceptBufferProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-buffer-protocol-request/index.html"><span class="identifier">InterceptBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier"><ERROR CLASS></span><span class="symbol">?</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-buffer-protocol-request/index.html"><span class="identifier">InterceptBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">buffer</span><span class="symbol">:</span> <span class="identifier">Buffer</span><span class="symbol">?</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="intercept-file-protocol.html">interceptFileProtocol</a></p> +(js) +<h4><a href="intercept-file-protocol.html">interceptFileProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-file-protocol-request/index.html"><span class="identifier">InterceptFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-file-protocol-request/index.html"><span class="identifier">InterceptFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="intercept-http-protocol.html">interceptHttpProtocol</a></p> +(js) +<h4><a href="intercept-http-protocol.html">interceptHttpProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-http-protocol-request/index.html"><span class="identifier">InterceptHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-http-protocol-request/index.html"><span class="identifier">InterceptHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="intercept-stream-protocol.html">interceptStreamProtocol</a></p> +(js) +<h4><a href="intercept-stream-protocol.html">interceptStreamProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-stream-protocol-request/index.html"><span class="identifier">InterceptStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-stream-protocol-request/index.html"><span class="identifier">InterceptStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="intercept-string-protocol.html">interceptStringProtocol</a></p> +(js) +<h4><a href="intercept-string-protocol.html">interceptStringProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-string-protocol-request/index.html"><span class="identifier">InterceptStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-string-protocol-request/index.html"><span class="identifier">InterceptStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="is-protocol-handled.html">isProtocolHandled</a></p> +(js) +<h4><a href="is-protocol-handled.html">isProtocolHandled</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isProtocolHandled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/callback">callback</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isProtocolHandled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">error</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="register-buffer-protocol.html">registerBufferProtocol</a></p> +(js) +<h4><a href="register-buffer-protocol.html">registerBufferProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-buffer-protocol-request/index.html"><span class="identifier">RegisterBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-buffer-protocol-request/index.html"><span class="identifier">RegisterBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="register-file-protocol.html">registerFileProtocol</a></p> +(js) +<h4><a href="register-file-protocol.html">registerFileProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-file-protocol-request/index.html"><span class="identifier">RegisterFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-file-protocol-request/index.html"><span class="identifier">RegisterFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="register-http-protocol.html">registerHttpProtocol</a></p> +(js) +<h4><a href="register-http-protocol.html">registerHttpProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-http-protocol-request/index.html"><span class="identifier">RegisterHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-http-protocol-request/index.html"><span class="identifier">RegisterHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="register-service-worker-schemes.html">registerServiceWorkerSchemes</a></p> +(js) +<h4><a href="register-service-worker-schemes.html">registerServiceWorkerSchemes</a></h4> </td> <td> <code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerServiceWorkerSchemes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerServiceWorkerSchemes(kotlin.Array((kotlin.String)))/schemes">schemes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code></td> </tr> <tr> <td> -<p><a href="register-standard-schemes.html">registerStandardSchemes</a></p> +(js) +<h4><a href="register-standard-schemes.html">registerStandardSchemes</a></h4> </td> <td> <code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStandardSchemes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)/schemes">schemes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)/options">options</span><span class="symbol">:</span> <a href="../-register-standard-schemes-options/index.html"><span class="identifier">RegisterStandardSchemesOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="register-stream-protocol.html">registerStreamProtocol</a></p> +(js) +<h4><a href="register-stream-protocol.html">registerStreamProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-stream-protocol-request/index.html"><span class="identifier">RegisterStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-stream-protocol-request/index.html"><span class="identifier">RegisterStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="register-string-protocol.html">registerStringProtocol</a></p> +(js) +<h4><a href="register-string-protocol.html">registerStringProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-string-protocol-request/index.html"><span class="identifier">RegisterStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-string-protocol-request/index.html"><span class="identifier">RegisterStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="unintercept-protocol.html">uninterceptProtocol</a></p> +(js) +<h4><a href="unintercept-protocol.html">uninterceptProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">uninterceptProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">uninterceptProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> <tr> <td> -<p><a href="unregister-protocol.html">unregisterProtocol</a></p> +(js) +<h4><a href="unregister-protocol.html">unregisterProtocol</a></h4> </td> <td> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">unregisterProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code></td> -</tr> -</tbody> -</table> -<h3>Inherited Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../-event-emitter/add-listener.html">addListener</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$addListener(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.EventEmitter$addListener(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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/emit.html">emit</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">emit</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$emit(kotlin.String, kotlin.Array((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="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$emit(kotlin.String, kotlin.Array((kotlin.Any)))/args">args</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/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/event-names.html">eventNames</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">eventNames</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/get-max-listeners.html">getMaxListeners</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getMaxListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/listener-count.html">listenerCount</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">listenerCount</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$listenerCount(kotlin.String)/type">type</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/-number/index.html"><span class="identifier">Number</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/listeners.html">listeners</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">listeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$listeners(kotlin.String)/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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/on.html">on</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$on(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.EventEmitter$on(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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/once.html">once</a></p> -</td> -<td> -<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.EventEmitter$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.EventEmitter$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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/prepend-listener.html">prependListener</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">prependListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$prependListener(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.EventEmitter$prependListener(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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/prepend-once-listener.html">prependOnceListener</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">prependOnceListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$prependOnceListener(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.EventEmitter$prependOnceListener(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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/remove-all-listeners.html">removeAllListeners</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllListeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$removeAllListeners(kotlin.String)/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="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/remove-listener.html">removeListener</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$removeListener(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.EventEmitter$removeListener(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="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -<tr> -<td> -<p><a href="../-event-emitter/set-max-listeners.html">setMaxListeners</a></p> -</td> -<td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setMaxListeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$setMaxListeners(kotlin.Number)/n">n</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="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> -</tr> -</tbody> -</table> -<h3>Extension Functions</h3> -<table> -<tbody> -<tr> -<td> -<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> -</td> -<td> -<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</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><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> -<p>Helper function for creating JavaScript objects from dynamic constructors.</p> -</td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">unregisterProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code></td> </tr> </tbody> </table> diff --git a/api/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html index a0d4c2b3..fe1073b4 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./intercept-buffer-protocol.html">interceptBufferProtocol</a><br/> <br/> <h1>interceptBufferProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-buffer-protocol-request/index.html"><span class="identifier">InterceptBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier"><ERROR CLASS></span><span class="symbol">?</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-buffer-protocol-request/index.html"><span class="identifier">InterceptBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">buffer</span><span class="symbol">:</span> <span class="identifier">Buffer</span><span class="symbol">?</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptBufferProtocolRequest, kotlin.Function1((node.buffer.Buffer, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html index 30879851..fb3c6902 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./intercept-file-protocol.html">interceptFileProtocol</a><br/> <br/> <h1>interceptFileProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-file-protocol-request/index.html"><span class="identifier">InterceptFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-file-protocol-request/index.html"><span class="identifier">InterceptFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html index d985f942..87e69582 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./intercept-http-protocol.html">interceptHttpProtocol</a><br/> <br/> <h1>interceptHttpProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-http-protocol-request/index.html"><span class="identifier">InterceptHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-http-protocol-request/index.html"><span class="identifier">InterceptHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html index 792f9ccc..fd81e871 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./intercept-stream-protocol.html">interceptStreamProtocol</a><br/> <br/> <h1>interceptStreamProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-stream-protocol-request/index.html"><span class="identifier">InterceptStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-stream-protocol-request/index.html"><span class="identifier">InterceptStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html index 0f73e96c..ce7f8211 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./intercept-string-protocol.html">interceptStringProtocol</a><br/> <br/> <h1>interceptStringProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-string-protocol-request/index.html"><span class="identifier">InterceptStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">interceptStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-intercept-string-protocol-request/index.html"><span class="identifier">InterceptStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$interceptStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.InterceptStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html b/api/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html index f1be12ff..f9ab1585 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html +++ b/api/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./is-protocol-handled.html">isProtocolHandled</a><br/> <br/> <h1>isProtocolHandled</h1> -<a name="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isProtocolHandled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/callback">callback</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">isProtocolHandled</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$isProtocolHandled(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">error</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="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html index 8a797fe6..0e2526cd 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-buffer-protocol.html">registerBufferProtocol</a><br/> <br/> <h1>registerBufferProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-buffer-protocol-request/index.html"><span class="identifier">RegisterBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerBufferProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-buffer-protocol-request/index.html"><span class="identifier">RegisterBufferProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerBufferProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterBufferProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html index c1ffb075..115eff1a 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-file-protocol.html">registerFileProtocol</a><br/> <br/> <h1>registerFileProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-file-protocol-request/index.html"><span class="identifier">RegisterFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerFileProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-file-protocol-request/index.html"><span class="identifier">RegisterFileProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePath</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerFileProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterFileProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html index c66ef162..26d16f28 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-http-protocol.html">registerHttpProtocol</a><br/> <br/> <h1>registerHttpProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-http-protocol-request/index.html"><span class="identifier">RegisterHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerHttpProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-http-protocol-request/index.html"><span class="identifier">RegisterHttpProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span> <a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerHttpProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterHttpProtocolRequest, kotlin.Function1((pl.treksoft.kvision.electron.RedirectRequest, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html b/api/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html index 6d9f48c6..5c89ec0f 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-service-worker-schemes.html">registerServiceWorkerSchemes</a><br/> <br/> <h1>registerServiceWorkerSchemes</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerServiceWorkerSchemes(kotlin.Array((kotlin.String)))"></a> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerServiceWorkerSchemes(kotlin.Array((kotlin.String)))"></a> <code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerServiceWorkerSchemes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerServiceWorkerSchemes(kotlin.Array((kotlin.String)))/schemes">schemes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html b/api/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html index 543eeb7b..8334c1d0 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-standard-schemes.html">registerStandardSchemes</a><br/> <br/> <h1>registerStandardSchemes</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)"></a> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)"></a> <code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStandardSchemes</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)/schemes">schemes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStandardSchemes(kotlin.Array((kotlin.String)), pl.treksoft.kvision.electron.RegisterStandardSchemesOptions)/options">options</span><span class="symbol">:</span> <a href="../-register-standard-schemes-options/index.html"><span class="identifier">RegisterStandardSchemesOptions</span></a><span class="symbol">?</span> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html index f8ee2710..da4d5524 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-stream-protocol.html">registerStreamProtocol</a><br/> <br/> <h1>registerStreamProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-stream-protocol-request/index.html"><span class="identifier">RegisterStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStreamProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-stream-protocol-request/index.html"><span class="identifier">RegisterStreamProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="keyword">dynamic</span><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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStreamProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStreamProtocolRequest, kotlin.Function1((kotlin.Any, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html index 91a9332a..633f8cdd 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./register-string-protocol.html">registerStringProtocol</a><br/> <br/> <h1>registerStringProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-string-protocol-request/index.html"><span class="identifier">RegisterStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">registerStringProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span> <a href="../-register-string-protocol-request/index.html"><span class="identifier">RegisterStringProtocolRequest</span></a><span class="symbol">,</span> <span class="identifier">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">data</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> <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="identifier" id="pl.treksoft.kvision.electron.Protocol$registerStringProtocol(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.RegisterStringProtocolRequest, kotlin.Function1((kotlin.String, kotlin.Unit)), )), kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html index c1a64f2e..06ea9ed0 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./unintercept-protocol.html">uninterceptProtocol</a><br/> <br/> <h1>uninterceptProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">uninterceptProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">uninterceptProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$uninterceptProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> diff --git a/api/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html b/api/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html index 6fddba27..fb4e6e68 100644 --- a/api/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html +++ b/api/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html @@ -8,7 +8,7 @@ <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Protocol</a> / <a href="./unregister-protocol.html">unregisterProtocol</a><br/> <br/> <h1>unregisterProtocol</h1> -<a name="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))"></a> -<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">unregisterProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((java.lang.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</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> <span class="symbol">=</span> definedExternally<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></code> +(js) <a name="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">unregisterProtocol</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/scheme">scheme</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.Protocol$unregisterProtocol(kotlin.String, kotlin.Function1((kotlin.Error, kotlin.Unit)))/completion">completion</span><span class="symbol">:</span> <span class="symbol">(</span><span class="symbol">(</span><span class="identifier">error</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> <span class="symbol">=</span> definedExternally<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></code> </BODY> </HTML> |