From a70acf853de62d0754ca95aa4103712b82afdef8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 17 Oct 2018 18:40:15 +0200 Subject: API Documentation for KVision 0.0.18 --- api/pl.treksoft.kvision.remote/-request.html | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 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 a80d9917..ee00fbfa 100644 --- a/api/pl.treksoft.kvision.remote/-request.html +++ b/api/pl.treksoft.kvision.remote/-request.html @@ -8,8 +8,25 @@ kvision / pl.treksoft.kvision.remote / Request

Request

-actual interface Request -

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

+expect interface Request +

A server request.

+

Extension Functions

+ + + + + + + +
+

async

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

A helper extension function for asynchronous request processing.

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

A helper extension function for asynchronous request processing with session.

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

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

+
-- cgit