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/index.html | 76 +++++++++++++++++++++++++++---- 1 file changed, 67 insertions(+), 9 deletions(-) (limited to 'api/pl.treksoft.kvision.remote/index.html') diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index 3af6c987..530d287e 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -32,12 +32,32 @@ -

JoobyServer

+

HttpMethod

-open actual class JoobyServer -

A Jooby based server. -Not used on the js platform.

+enum class HttpMethod + + + +

JsonRpcRequest

+ + +data class JsonRpcRequest + + + +

JsonRpcResponse

+ + +data class JsonRpcResponse + + + +

KVServer

+ + +open expect class KVServer +

A server.

@@ -54,7 +74,7 @@ Not used on the js platform.

Profile

-data actual class Profile +expect class Profile

A user profile.

@@ -72,10 +92,16 @@ Not used on the js platform.

Request

-actual interface Request -

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

+expect interface Request +

A server request.

+ + + + +

RpcHttpMethod

+ +enum class RpcHttpMethod @@ -91,7 +117,7 @@ Not used on the js platform.

ServiceManager

-open actual class ServiceManager<out T> +open expect class ServiceManager<out T>

Multiplatform service manager.

@@ -111,6 +137,20 @@ Not used on the js platform.

+

Type Aliases

+ + + + + + + +
+

Profile

+
+actual typealias Profile = <ERROR CLASS> +

A user profile.

+

Properties

@@ -125,5 +165,23 @@ Not used on the js platform.

+

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