diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-10-17 18:40:15 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-10-17 18:40:15 +0200 |
commit | a70acf853de62d0754ca95aa4103712b82afdef8 (patch) | |
tree | cb8980c51c98f41f833aa89c7bd28e5fa133f35e /api/pl.treksoft.kvision.remote/-request.html | |
parent | 546892a2b8c743224ccabd609827f5048c7a630c (diff) | |
download | kvision-a70acf853de62d0754ca95aa4103712b82afdef8.tar.gz kvision-a70acf853de62d0754ca95aa4103712b82afdef8.tar.bz2 kvision-a70acf853de62d0754ca95aa4103712b82afdef8.zip |
API Documentation for KVision 0.0.18
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> |