diff options
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-request.html')
-rw-r--r-- | api/pl.treksoft.kvision.remote/-request.html | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/api/pl.treksoft.kvision.remote/-request.html b/api/pl.treksoft.kvision.remote/-request.html index a80d9917..ee00fbfa 100644 --- a/api/pl.treksoft.kvision.remote/-request.html +++ b/api/pl.treksoft.kvision.remote/-request.html @@ -8,8 +8,25 @@ <a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.remote</a> / <a href="./-request.html">Request</a><br/> <br/> <h1>Request</h1> -<code><span class="keyword">actual</span> <span class="keyword">interface </span><span class="identifier">Request</span></code> -<p>A server request. -Not used on the js platform.</p> +<code><span class="keyword">expect</span> <span class="keyword">interface </span><span class="identifier">Request</span></code> +<p>A server request.</p> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="async.html">async</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function1((pl.treksoft.kvision.remote.Request, pl.treksoft.kvision.remote.async.RESP)))/block">block</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol"><</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">></span></code> +<p>A helper extension function for asynchronous request processing.</p> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function2((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.async.RESP)))/block">block</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">,</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol"><</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">></span></code> +<p>A helper extension function for asynchronous request processing with session.</p> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">async</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$async(pl.treksoft.kvision.remote.Request, kotlin.Function3((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.async.RESP)))/block">block</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./-request.html"><span class="identifier">Request</span></a><span class="symbol">,</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">,</span> <a href="-profile/index.html"><span class="identifier">Profile</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol"><</span><a href="async.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">></span></code> +<p>A helper extension function for asynchronous request processing with session and user profile.</p> +</td> +</tr> +</tbody> +</table> </BODY> </HTML> |