summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-protocol/intercept-http-protocol.html
blob: d985f942146a914ab5a560766de3956f850c4d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.electron</a>&nbsp;/&nbsp;<a href="index.html">Protocol</a>&nbsp;/&nbsp;<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>&nbsp;<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>&nbsp;<span class="symbol">(</span><span class="identifier">request</span><span class="symbol">:</span>&nbsp;<a href="../-intercept-http-protocol-request/index.html"><span class="identifier">InterceptHttpProtocolRequest</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">redirectRequest</span><span class="symbol">:</span>&nbsp;<a href="../-redirect-request/index.html"><span class="identifier">RedirectRequest</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<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>&nbsp;<span class="symbol">=</span>&nbsp;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>