diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.electron/-protocol')
16 files changed, 443 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.electron/-protocol/index.html b/api1/pl.treksoft.kvision.electron/-protocol/index.html new file mode 100644 index 00000000..01777b62 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/index.html @@ -0,0 +1,233 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="./index.html">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> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="intercept-buffer-protocol.html">interceptBufferProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="intercept-file-protocol.html">interceptFileProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="intercept-http-protocol.html">interceptHttpProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="intercept-stream-protocol.html">interceptStreamProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="intercept-string-protocol.html">interceptStringProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="is-protocol-handled.html">isProtocolHandled</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="register-buffer-protocol.html">registerBufferProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="register-file-protocol.html">registerFileProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="register-http-protocol.html">registerHttpProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="register-service-worker-schemes.html">registerServiceWorkerSchemes</a></p> +</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> +</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> +</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> +</tr> +<tr> +<td> +<p><a href="register-string-protocol.html">registerStringProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="unintercept-protocol.html">uninterceptProtocol</a></p> +</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> +</tr> +<tr> +<td> +<p><a href="unregister-protocol.html">unregisterProtocol</a></p> +</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> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html new file mode 100644 index 00000000..a0d4c2b3 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/intercept-buffer-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.interceptBufferProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html new file mode 100644 index 00000000..30879851 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/intercept-file-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.interceptFileProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html new file mode 100644 index 00000000..d985f942 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.interceptHttpProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html new file mode 100644 index 00000000..792f9ccc --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/intercept-stream-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.interceptStreamProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html new file mode 100644 index 00000000..0f73e96c --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/intercept-string-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.interceptStringProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html b/api1/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html new file mode 100644 index 00000000..f1be12ff --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/is-protocol-handled.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.isProtocolHandled - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html new file mode 100644 index 00000000..8a797fe6 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-buffer-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerBufferProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html new file mode 100644 index 00000000..c1ffb075 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-file-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerFileProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html new file mode 100644 index 00000000..c66ef162 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-http-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerHttpProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html b/api1/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html new file mode 100644 index 00000000..6d9f48c6 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-service-worker-schemes.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerServiceWorkerSchemes - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +<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/api1/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html b/api1/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html new file mode 100644 index 00000000..543eeb7b --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-standard-schemes.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerStandardSchemes - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +<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/api1/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html new file mode 100644 index 00000000..f8ee2710 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-stream-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerStreamProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html new file mode 100644 index 00000000..91a9332a --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/register-string-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.registerStringProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html new file mode 100644 index 00000000..c1a64f2e --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/unintercept-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.uninterceptProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html b/api1/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html new file mode 100644 index 00000000..6fddba27 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-protocol/unregister-protocol.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Protocol.unregisterProtocol - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">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> +</BODY> +</HTML> |