summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-web-request/on-before-request.html
blob: 6f321d6563d16061b1c4faa5d546c527e643dc61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>WebRequest.onBeforeRequest - 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">WebRequest</a>&nbsp;/&nbsp;<a href="./on-before-request.html">onBeforeRequest</a><br/>
<br/>
<h1>onBeforeRequest</h1>
<a name="pl.treksoft.kvision.electron.WebRequest$onBeforeRequest(kotlin.Function2((pl.treksoft.kvision.electron.OnBeforeRequestDetails, kotlin.Function1((pl.treksoft.kvision.electron.Response, kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onBeforeRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebRequest$onBeforeRequest(kotlin.Function2((pl.treksoft.kvision.electron.OnBeforeRequestDetails, kotlin.Function1((pl.treksoft.kvision.electron.Response, kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">details</span><span class="symbol">:</span>&nbsp;<a href="../-on-before-request-details/index.html"><span class="identifier">OnBeforeRequestDetails</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span>&nbsp;<a href="../-response/index.html"><span class="identifier">Response</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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebRequest$onBeforeRequest(pl.treksoft.kvision.electron.OnBeforeRequestFilter, kotlin.Function2((pl.treksoft.kvision.electron.OnBeforeRequestDetails, kotlin.Function1((pl.treksoft.kvision.electron.Response, kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onBeforeRequest</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebRequest$onBeforeRequest(pl.treksoft.kvision.electron.OnBeforeRequestFilter, kotlin.Function2((pl.treksoft.kvision.electron.OnBeforeRequestDetails, kotlin.Function1((pl.treksoft.kvision.electron.Response, kotlin.Unit)), )))/filter">filter</span><span class="symbol">:</span>&nbsp;<a href="../-on-before-request-filter/index.html"><span class="identifier">OnBeforeRequestFilter</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebRequest$onBeforeRequest(pl.treksoft.kvision.electron.OnBeforeRequestFilter, kotlin.Function2((pl.treksoft.kvision.electron.OnBeforeRequestDetails, kotlin.Function1((pl.treksoft.kvision.electron.Response, kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">details</span><span class="symbol">:</span>&nbsp;<a href="../-on-before-request-details/index.html"><span class="identifier">OnBeforeRequestDetails</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span>&nbsp;<a href="../-response/index.html"><span class="identifier">Response</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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
</BODY>
</HTML>