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/index.html | 114 ++++++------------------------ 1 file changed, 21 insertions(+), 93 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 1917d011..a2620d5a 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -32,57 +32,37 @@ -

HttpMethod

- - -enum class HttpMethod - - - -

JoobyRemoteAgent

+

KVController

-open class JoobyRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Jooby.

- +open class KVController -

JoobyServiceManager

+

KVRemoteAgent

-open expect class JoobyServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Jooby.

+open class KVRemoteAgent<T : Any> : RemoteAgent +

Client side agent for JSON-RPC remote calls.

-

JsonRpcRequest

- - -data class JsonRpcRequest - - - -

JsonRpcResponse

+

KVServer

-data class JsonRpcResponse - - - -

KVController

+open actual class KVServer +

A server. +Not used on the js platform.

- -open class KVController -

KVServer

+

KVServiceManager

-open expect class KVServer -

A server.

+open actual class KVServiceManager<T : Any> +

Multiplatform service manager.

@@ -99,7 +79,7 @@

Profile

-expect class Profile +data actual class Profile

A user profile.

@@ -117,19 +97,13 @@

Request

-expect interface Request -

A server request.

+actual interface Request +

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

-

RpcHttpMethod

- - -enum class RpcHttpMethod - - -

SecurityMgr

@@ -139,36 +113,11 @@ -

ServiceManager

- - -interface ServiceManager - - -

SpringContext

class SpringContext - - -

SpringRemoteAgent

- - -open class SpringRemoteAgent<T : Any> : RemoteAgent -

Client side agent for JSON-RPC remote calls with Spring Boot.

- - - - -

SpringServiceManager

- - -open expect class SpringServiceManager<T : Any> : ServiceManager -

Multiplatform service manager for Spring Boot.

- -

Exceptions

@@ -221,37 +170,16 @@

addPathPatternsFromServices

-fun <ERROR CLASS>.addPathPatternsFromServices(services: List<SpringServiceManager<*>>): Unit - - - -

async

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

A helper extension function for asynchronous request processing.

-fun <RESP> async(block: () -> RESP): Deferred<RESP> -

A helper extension function for asynchronous 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.

-fun <RESP> asyncAuth(block: (Profile) -> RESP): Deferred<RESP> -

A helper extension function for asynchronous processing with user profile.

- +fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit -

asyncSession

+

withProfile

-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
+fun <RESP> withProfile(block: (Profile) -> RESP): RESP +

A helper extension function for processing with authenticated user profile.

-- cgit