diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-12-23 01:32:27 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-12-23 01:32:27 +0100 |
commit | a81c549e277d1a07e87cf8e2eecf89662deda323 (patch) | |
tree | fd64e2f453094f7106bf97faa2833136e58327d4 /api/pl.treksoft.kvision.remote/-request.html | |
parent | cc229b215e07fa84d48c5754cdb6ba26fd678910 (diff) | |
download | kvision-a81c549e277d1a07e87cf8e2eecf89662deda323.tar.gz kvision-a81c549e277d1a07e87cf8e2eecf89662deda323.tar.bz2 kvision-a81c549e277d1a07e87cf8e2eecf89662deda323.zip |
API documentation for KVision 0.0.22
Diffstat (limited to 'api/pl.treksoft.kvision.remote/-request.html')
-rw-r--r-- | api/pl.treksoft.kvision.remote/-request.html | 29 |
1 files changed, 6 insertions, 23 deletions
diff --git a/api/pl.treksoft.kvision.remote/-request.html b/api/pl.treksoft.kvision.remote/-request.html index bb5e13da..2a406c50 100644 --- a/api/pl.treksoft.kvision.remote/-request.html +++ b/api/pl.treksoft.kvision.remote/-request.html @@ -8,36 +8,19 @@ <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">expect</span> <span class="keyword">interface </span><span class="identifier">Request</span></code> -<p>A server request.</p> +<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> <h3>Extension Functions</h3> <table> <tbody> <tr> <td> -<p><a href="async.html">async</a></p> +<p><a href="with-profile.html">withProfile</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> -</td> -</tr> -<tr> -<td> -<p><a href="async-auth.html">asyncAuth</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">asyncAuth</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$asyncAuth(pl.treksoft.kvision.remote.Request, kotlin.Function3((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.asyncAuth.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-auth.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-auth.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> -<tr> -<td> -<p><a href="async-session.html">asyncSession</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">asyncSession</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$asyncSession(pl.treksoft.kvision.remote.Request, kotlin.Function2((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.asyncSession.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-session.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-session.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="identifier">withProfile</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$withProfile(pl.treksoft.kvision.remote.Request, kotlin.Function1((pl.treksoft.kvision.remote.Profile, pl.treksoft.kvision.remote.withProfile.RESP)))/block">block</span><span class="symbol">:</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="with-profile.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="with-profile.html#RESP"><span class="identifier">RESP</span></a></code> +<p>A helper extension function for processing with authenticated user profile.</p> </td> </tr> </tbody> |