From a81c549e277d1a07e87cf8e2eecf89662deda323 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Dec 2018 01:32:27 +0100 Subject: API documentation for KVision 0.0.22 --- api/pl.treksoft.kvision.remote/-request.html | 29 ++++++---------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/-request.html') 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 @@ kvision / pl.treksoft.kvision.remote / Request

Request

-expect interface Request -

A server request.

+actual interface Request +

A server request. +Not used on the js platform.

Extension Functions

- - - - - - - - -- cgit
-

async

+

withProfile

-fun <RESP> Request?.async(block: (Request) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing.

-
-

asyncAuth

-
-fun <RESP> Request?.asyncAuth(block: (Request, <ERROR CLASS>, Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session and user profile.

-
-

asyncSession

-
-fun <RESP> Request?.asyncSession(block: (Request, <ERROR CLASS>) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous request processing with session.

+fun <RESP> Request.withProfile(block: (Profile) -> RESP): RESP +

A helper extension function for processing with authenticated user profile.