From e361ab18f355ff81ef61406543b918d4a2b9567c Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 11 Apr 2019 18:02:54 +0200 Subject: API documentantion for KVision 0.0.33 --- api/alltypes/index.html | 40 ++-- api/index-outline.html | 218 +++++++++------------ .../-call-module/-init-.html | 14 -- .../-call-module/configure.html | 14 -- .../-call-module/index.html | 51 ----- .../-dummy-web-socket-server-session/-init-.html | 14 -- .../-dummy-web-socket-server-session/call.html | 14 -- .../-dummy-web-socket-server-session/close.html | 14 -- .../coroutine-context.html | 14 -- .../-dummy-web-socket-server-session/flush.html | 14 -- .../-dummy-web-socket-server-session/incoming.html | 14 -- .../-dummy-web-socket-server-session/index.html | 112 ----------- .../-dummy-web-socket-server-session/masking.html | 14 -- .../max-frame-size.html | 14 -- .../-dummy-web-socket-server-session/outgoing.html | 14 -- .../terminate.html | 14 -- .../-dummy-web-socket-session/-init-.html | 14 ++ .../-dummy-web-socket-session/close.html | 16 ++ .../get-accepted-protocol.html | 14 ++ .../-dummy-web-socket-session/get-attributes.html | 14 ++ .../get-binary-message-size-limit.html | 14 ++ .../-dummy-web-socket-session/get-extensions.html | 14 ++ .../get-handshake-headers.html | 14 ++ .../-dummy-web-socket-session/get-id.html | 14 ++ .../get-local-address.html | 14 ++ .../-dummy-web-socket-session/get-principal.html | 14 ++ .../get-remote-address.html | 14 ++ .../get-text-message-size-limit.html | 14 ++ .../-dummy-web-socket-session/get-uri.html | 14 ++ .../-dummy-web-socket-session/index.html | 157 +++++++++++++++ .../-dummy-web-socket-session/is-open.html | 14 ++ .../-dummy-web-socket-session/send-message.html | 14 ++ .../set-binary-message-size-limit.html | 14 ++ .../set-text-message-size-limit.html | 14 ++ .../-dummy-ws-session-module/-init-.html | 14 -- .../-dummy-ws-session-module/configure.html | 14 -- .../-dummy-ws-session-module/index.html | 51 ----- .../-k-v-controller/-init-.html | 1 + .../-k-v-controller/index.html | 5 +- .../-k-v-service-manager/add-route.html | 16 -- .../-k-v-service-manager/call.html | 14 -- .../-k-v-service-manager/get-parameter.html | 14 -- .../-k-v-service-manager/index.html | 29 +-- .../-k-v-service-manager/web-sockets-requests.html | 14 ++ .../-k-v-web-socket-config/-init-.html | 15 ++ .../application-context.html | 14 ++ .../-k-v-web-socket-config/index.html | 94 +++++++++ .../register-web-socket-handlers.html | 14 ++ .../-k-v-web-socket-config/route-interceptor.html | 14 ++ .../-k-v-web-socket-config/services.html | 14 ++ .../-k-v-web-socket-config/socket-handler.html | 14 ++ .../-k-v-web-socket-config/web-socket-session.html | 14 ++ .../-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html | 14 ++ .../-main-module/-init-.html | 14 -- .../-main-module/configure.html | 14 -- .../-main-module/index.html | 51 ----- .../-web-socket-session-holder/index.html | 39 ++++ .../web-socket-session.html | 14 ++ .../-ws-session-module/-init-.html | 14 -- .../-ws-session-module/configure.html | 14 -- .../-ws-session-module/index.html | 51 ----- .../add-path-patterns-from-services.html | 1 + api/pl.treksoft.kvision.remote/apply-routes.html | 1 + api/pl.treksoft.kvision.remote/index.html | 67 +++---- api/pl.treksoft.kvision.remote/kvision-init.html | 4 +- api/pl.treksoft.kvision.remote/write-j-s-o-n.html | 14 -- 66 files changed, 825 insertions(+), 838 deletions(-) delete mode 100644 api/pl.treksoft.kvision.remote/-call-module/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-call-module/configure.html delete mode 100644 api/pl.treksoft.kvision.remote/-call-module/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/call.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/close.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/coroutine-context.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/flush.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/incoming.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/masking.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/max-frame-size.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/outgoing.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/terminate.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html create mode 100644 api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-ws-session-module/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-ws-session-module/configure.html delete mode 100644 api/pl.treksoft.kvision.remote/-dummy-ws-session-module/index.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html delete mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-service-manager/web-sockets-requests.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html create mode 100644 api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html delete mode 100644 api/pl.treksoft.kvision.remote/-main-module/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-main-module/configure.html delete mode 100644 api/pl.treksoft.kvision.remote/-main-module/index.html create mode 100644 api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html create mode 100644 api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html delete mode 100644 api/pl.treksoft.kvision.remote/-ws-session-module/-init-.html delete mode 100644 api/pl.treksoft.kvision.remote/-ws-session-module/configure.html delete mode 100644 api/pl.treksoft.kvision.remote/-ws-session-module/index.html delete mode 100644 api/pl.treksoft.kvision.remote/write-j-s-o-n.html diff --git a/api/alltypes/index.html b/api/alltypes/index.html index 6f849228..3b36e975 100644 --- a/api/alltypes/index.html +++ b/api/alltypes/index.html @@ -308,12 +308,6 @@ -pl.treksoft.kvision.remote.CallModule - - - - - pl.treksoft.kvision.html.Canvas

Canvas component.

@@ -849,13 +843,7 @@ -pl.treksoft.kvision.remote.DummyWebSocketServerSession - - - - - -pl.treksoft.kvision.remote.DummyWsSessionModule +pl.treksoft.kvision.remote.DummyWebSocketSession @@ -1531,6 +1519,7 @@ pl.treksoft.kvision.remote.KVController +

Controller for handling automatic routes.

@@ -1556,6 +1545,13 @@ +pl.treksoft.kvision.remote.KVWebSocketConfig + +

Automatic websockets configuration.

+ + + + pl.treksoft.kvision.html.Label

Simple label component rendered as span.

@@ -1677,12 +1673,6 @@ -pl.treksoft.kvision.remote.MainModule - - - - - kotlin.collections.Map (extensions in package pl.treksoft.kvision.form) @@ -3266,6 +3256,12 @@ It requires @Serializable state.

+pl.treksoft.kvision.remote.WebSocketSessionHolder + + + + + pl.treksoft.kvision.electron.WebSource @@ -3317,12 +3313,6 @@ It requires @Serializable state.

Definitions of CSS word-break options.

- - -pl.treksoft.kvision.remote.WsSessionModule - - - diff --git a/api/index-outline.html b/api/index-outline.html index 70583ba6..0d496f51 100644 --- a/api/index-outline.html +++ b/api/index-outline.html @@ -1209,20 +1209,6 @@ -class CallModule
- open class Canvas : Widget
-class DummyWebSocketServerSession
- -class DummyWsSessionModule
+open class DummyWebSocketSession
@@ -5753,8 +5733,6 @@ KVServiceManager(serviceClass: KClass<T>)
-fun addRoute(method: HttpMethod, path: String, handler: suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit): Unit
-fun addRoute(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS>) -> Unit): Unit
protected actual inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?): Unit
@@ -5763,12 +5741,10 @@ protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?): Unit
protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit
protected actual inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
-fun call(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>) -> Unit): <ERROR CLASS>.() -> Unit
protected val calls: MutableMap<String, Pair<String, HttpMethod>>
var counter: Int
val deleteRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
fun getCalls(): Map<String, Pair<String, HttpMethod>>
-protected inline fun <reified T> getParameter(str: String?): T
val getRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val LOG: <ERROR CLASS>
val mapper: <ERROR CLASS>
@@ -5778,6 +5754,26 @@ val routes: MutableList<<ERROR CLASS>.() -> Unit>
val serviceClass: KClass<T>
val webSocketRequests: MutableMap<String, suspend <ERROR CLASS>.() -> Unit>
+val webSocketsRequests: MutableMap<String, suspend (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit>
+ + + +open class KVWebSocketConfig
+ @@ -6119,20 +6115,6 @@ -class MainModule
- external interface MediaFlags
+object WebSocketSessionHolder
+ external interface WebSource
-class WsSessionModule
- @@ -22397,20 +22378,6 @@ -class CallModule
- data class Credentials
-class DummyWebSocketServerSession
+open class DummyWebSocketSession
-class DummyWsSessionModule
- @@ -22481,6 +22442,7 @@ +const val KV_ROUTE_ID_ATTRIBUTE: String
open class KVController
-class LoginService
+open class KVWebSocketConfig
-class MainModule
+class LoginService
@@ -22715,10 +22679,7 @@ -suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
-suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP
-fun <ERROR CLASS>.writeJSON(json: String): Unit
-class WsSessionModule
+object WebSocketSessionHolder
+suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
+suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP
diff --git a/api/pl.treksoft.kvision.remote/-call-module/-init-.html b/api/pl.treksoft.kvision.remote/-call-module/-init-.html deleted file mode 100644 index 01125757..00000000 --- a/api/pl.treksoft.kvision.remote/-call-module/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CallModule.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / CallModule / <init>
-
-

<init>

- -CallModule(call: <ERROR CLASS>) - - diff --git a/api/pl.treksoft.kvision.remote/-call-module/configure.html b/api/pl.treksoft.kvision.remote/-call-module/configure.html deleted file mode 100644 index 8a72a68c..00000000 --- a/api/pl.treksoft.kvision.remote/-call-module/configure.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -CallModule.configure - kvision - - - -kvision / pl.treksoft.kvision.remote / CallModule / configure
-
-

configure

- -fun configure(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-call-module/index.html b/api/pl.treksoft.kvision.remote/-call-module/index.html deleted file mode 100644 index 58c4b70d..00000000 --- a/api/pl.treksoft.kvision.remote/-call-module/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -CallModule - kvision - - - -kvision / pl.treksoft.kvision.remote / CallModule
-
-

CallModule

-class CallModule -

Constructors

- - - - - - - -
-

<init>

-
-CallModule(call: <ERROR CLASS>)
-

Functions

- - - - - - - -
-

configure

-
-fun configure(): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/-init-.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/-init-.html deleted file mode 100644 index d6b72098..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / <init>
-
-

<init>

- -DummyWebSocketServerSession() - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/call.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/call.html deleted file mode 100644 index d316d3b5..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/call.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.call - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / call
-
-

call

- -val call: <ERROR CLASS> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/close.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/close.html deleted file mode 100644 index 4217b898..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/close.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.close - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / close
-
-

close

- -suspend fun close(cause: Throwable?): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/coroutine-context.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/coroutine-context.html deleted file mode 100644 index 5806670c..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/coroutine-context.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.coroutineContext - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / coroutineContext
-
-

coroutineContext

- -val coroutineContext: CoroutineContext - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/flush.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/flush.html deleted file mode 100644 index 1424d570..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/flush.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.flush - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / flush
-
-

flush

- -suspend fun flush(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/incoming.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/incoming.html deleted file mode 100644 index 967b31a4..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/incoming.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.incoming - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / incoming
-
-

incoming

- -val incoming: <ERROR CLASS><<ERROR CLASS>> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/index.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/index.html deleted file mode 100644 index 1db97071..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/index.html +++ /dev/null @@ -1,112 +0,0 @@ - - - -DummyWebSocketServerSession - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession
-
-

DummyWebSocketServerSession

-class DummyWebSocketServerSession -

Constructors

- - - - - - - -
-

<init>

-
-DummyWebSocketServerSession()
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

call

-
-val call: <ERROR CLASS>
-

coroutineContext

-
-val coroutineContext: CoroutineContext
-

incoming

-
-val incoming: <ERROR CLASS><<ERROR CLASS>>
-

masking

-
-var masking: Boolean
-

maxFrameSize

-
-var maxFrameSize: Long
-

outgoing

-
-val outgoing: <ERROR CLASS><<ERROR CLASS>>
-

Functions

- - - - - - - - - - - - - - - -
-

close

-
-suspend fun close(cause: Throwable?): Unit
-

flush

-
-suspend fun flush(): Unit
-

terminate

-
-fun terminate(): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/masking.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/masking.html deleted file mode 100644 index e607d664..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/masking.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.masking - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / masking
-
-

masking

- -var masking: Boolean - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/max-frame-size.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/max-frame-size.html deleted file mode 100644 index 5933117b..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/max-frame-size.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.maxFrameSize - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / maxFrameSize
-
-

maxFrameSize

- -var maxFrameSize: Long - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/outgoing.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/outgoing.html deleted file mode 100644 index 84f13f71..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/outgoing.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.outgoing - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / outgoing
-
-

outgoing

- -val outgoing: <ERROR CLASS><<ERROR CLASS>> - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/terminate.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/terminate.html deleted file mode 100644 index 50b685dc..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-web-socket-server-session/terminate.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWebSocketServerSession.terminate - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWebSocketServerSession / terminate
-
-

terminate

- -fun terminate(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html new file mode 100644 index 00000000..e850f251 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/-init-.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / <init>
+
+

<init>

+ +DummyWebSocketSession() + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html new file mode 100644 index 00000000..ef2ae5b5 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/close.html @@ -0,0 +1,16 @@ + + + +DummyWebSocketSession.close - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / close
+
+

close

+ +open fun close(): Unit
+ +open fun close(status: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html new file mode 100644 index 00000000..a157ed79 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-accepted-protocol.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getAcceptedProtocol - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getAcceptedProtocol
+
+

getAcceptedProtocol

+ +open fun getAcceptedProtocol(): String? + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html new file mode 100644 index 00000000..7ead65c0 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-attributes.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getAttributes - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getAttributes
+
+

getAttributes

+ +open fun getAttributes(): MutableMap<String, Any> + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html new file mode 100644 index 00000000..3a261432 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-binary-message-size-limit.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getBinaryMessageSizeLimit - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getBinaryMessageSizeLimit
+
+

getBinaryMessageSizeLimit

+ +open fun getBinaryMessageSizeLimit(): Int + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html new file mode 100644 index 00000000..0e24f2ab --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-extensions.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getExtensions - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getExtensions
+
+

getExtensions

+ +open fun getExtensions(): MutableList<<ERROR CLASS>> + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html new file mode 100644 index 00000000..bfed88a2 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-handshake-headers.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getHandshakeHeaders - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getHandshakeHeaders
+
+

getHandshakeHeaders

+ +open fun getHandshakeHeaders(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html new file mode 100644 index 00000000..a3cbf587 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-id.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getId - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getId
+
+

getId

+ +open fun getId(): String + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html new file mode 100644 index 00000000..677bf3fd --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-local-address.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getLocalAddress - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getLocalAddress
+
+

getLocalAddress

+ +open fun getLocalAddress(): InetSocketAddress? + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html new file mode 100644 index 00000000..e0f8f5e5 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-principal.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getPrincipal - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getPrincipal
+
+

getPrincipal

+ +open fun getPrincipal(): Principal? + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html new file mode 100644 index 00000000..9a4553d3 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-remote-address.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getRemoteAddress - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getRemoteAddress
+
+

getRemoteAddress

+ +open fun getRemoteAddress(): InetSocketAddress? + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html new file mode 100644 index 00000000..3d75c92b --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-text-message-size-limit.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getTextMessageSizeLimit - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getTextMessageSizeLimit
+
+

getTextMessageSizeLimit

+ +open fun getTextMessageSizeLimit(): Int + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html new file mode 100644 index 00000000..e49c0a4a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/get-uri.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.getUri - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / getUri
+
+

getUri

+ +open fun getUri(): URI? + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html new file mode 100644 index 00000000..082ff9d0 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/index.html @@ -0,0 +1,157 @@ + + + +DummyWebSocketSession - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession
+
+

DummyWebSocketSession

+open class DummyWebSocketSession +

Constructors

+ + + + + + + +
+

<init>

+
+DummyWebSocketSession()
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

close

+
+open fun close(): Unit
+open fun close(status: <ERROR CLASS>): Unit
+

getAcceptedProtocol

+
+open fun getAcceptedProtocol(): String?
+

getAttributes

+
+open fun getAttributes(): MutableMap<String, Any>
+

getBinaryMessageSizeLimit

+
+open fun getBinaryMessageSizeLimit(): Int
+

getExtensions

+
+open fun getExtensions(): MutableList<<ERROR CLASS>>
+

getHandshakeHeaders

+
+open fun getHandshakeHeaders(): <ERROR CLASS>
+

getId

+
+open fun getId(): String
+

getLocalAddress

+
+open fun getLocalAddress(): InetSocketAddress?
+

getPrincipal

+
+open fun getPrincipal(): Principal?
+

getRemoteAddress

+
+open fun getRemoteAddress(): InetSocketAddress?
+

getTextMessageSizeLimit

+
+open fun getTextMessageSizeLimit(): Int
+

getUri

+
+open fun getUri(): URI?
+

isOpen

+
+open fun isOpen(): Boolean
+

sendMessage

+
+open fun sendMessage(message: <ERROR CLASS><out <ERROR CLASS>>): Unit
+

setBinaryMessageSizeLimit

+
+open fun setBinaryMessageSizeLimit(messageSizeLimit: Int): Unit
+

setTextMessageSizeLimit

+
+open fun setTextMessageSizeLimit(messageSizeLimit: Int): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html new file mode 100644 index 00000000..b98d5183 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/is-open.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.isOpen - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / isOpen
+
+

isOpen

+ +open fun isOpen(): Boolean + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html new file mode 100644 index 00000000..255e3b59 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/send-message.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.sendMessage - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / sendMessage
+
+

sendMessage

+ +open fun sendMessage(message: <ERROR CLASS><out <ERROR CLASS>>): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html new file mode 100644 index 00000000..384d36ea --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-binary-message-size-limit.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.setBinaryMessageSizeLimit - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / setBinaryMessageSizeLimit
+
+

setBinaryMessageSizeLimit

+ +open fun setBinaryMessageSizeLimit(messageSizeLimit: Int): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html new file mode 100644 index 00000000..1b5b8f4a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-dummy-web-socket-session/set-text-message-size-limit.html @@ -0,0 +1,14 @@ + + + +DummyWebSocketSession.setTextMessageSizeLimit - kvision + + + +kvision / pl.treksoft.kvision.remote / DummyWebSocketSession / setTextMessageSizeLimit
+
+

setTextMessageSizeLimit

+ +open fun setTextMessageSizeLimit(messageSizeLimit: Int): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/-init-.html b/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/-init-.html deleted file mode 100644 index 7fe31a1b..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWsSessionModule.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWsSessionModule / <init>
-
-

<init>

- -DummyWsSessionModule() - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/configure.html b/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/configure.html deleted file mode 100644 index 8d27d941..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/configure.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -DummyWsSessionModule.configure - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWsSessionModule / configure
-
-

configure

- -fun configure(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/index.html b/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/index.html deleted file mode 100644 index 1a6f2b91..00000000 --- a/api/pl.treksoft.kvision.remote/-dummy-ws-session-module/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -DummyWsSessionModule - kvision - - - -kvision / pl.treksoft.kvision.remote / DummyWsSessionModule
-
-

DummyWsSessionModule

-class DummyWsSessionModule -

Constructors

- - - - - - - -
-

<init>

-
-DummyWsSessionModule()
-

Functions

- - - - - - - -
-

configure

-
-fun configure(): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html index 4efad9cb..91e5c7fa 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html +++ b/api/pl.treksoft.kvision.remote/-k-v-controller/-init-.html @@ -10,5 +10,6 @@

<init>

KVController() +

Controller for handling automatic routes.

diff --git a/api/pl.treksoft.kvision.remote/-k-v-controller/index.html b/api/pl.treksoft.kvision.remote/-k-v-controller/index.html index 8e8da5eb..59f9d3a6 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-controller/index.html +++ b/api/pl.treksoft.kvision.remote/-k-v-controller/index.html @@ -9,6 +9,7 @@

KVController

open class KVController +

Controller for handling automatic routes.

Constructors

@@ -17,7 +18,9 @@

<init>

+KVController() +

Controller for handling automatic routes.

+
-KVController()
diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html deleted file mode 100644 index 4f4fd2b4..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/add-route.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -KVServiceManager.addRoute - kvision - - - -kvision / pl.treksoft.kvision.remote / KVServiceManager / addRoute
-
-

addRoute

- -fun addRoute(method: HttpMethod, path: String, handler: suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit): Unit
- -fun addRoute(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS>) -> Unit): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html deleted file mode 100644 index d5959ccd..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/call.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVServiceManager.call - kvision - - - -kvision / pl.treksoft.kvision.remote / KVServiceManager / call
-
-

call

- -fun call(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>) -> Unit): <ERROR CLASS>.() -> Unit - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html deleted file mode 100644 index 60238eef..00000000 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/get-parameter.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KVServiceManager.getParameter - kvision - - - -kvision / pl.treksoft.kvision.remote / KVServiceManager / getParameter
-
-

getParameter

- -protected inline fun <reified T> getParameter(str: String?): T - - diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html index 09d40c51..f1f38b51 100644 --- a/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/index.html @@ -104,19 +104,18 @@ val webSocketRequests: MutableMap<String, suspend <ERROR CLASS>.() -> Unit> - - -

Functions

- - +val webSocketsRequests: MutableMap<String, suspend (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit> + +
-

addRoute

+

webSocketsRequests

-fun addRoute(method: HttpMethod, path: String, handler: suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit): Unit
-fun addRoute(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS>) -> Unit): Unit
+

Functions

+ + - - - - - - - -

bind

@@ -137,13 +136,6 @@
-

call

-
-fun call(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>) -> Unit): <ERROR CLASS>.() -> Unit

getCalls

@@ -151,13 +143,6 @@

Returns the map of defined paths.

-

getParameter

-
-fun <T> getParameter(str: String?): T

Companion Object Properties

diff --git a/api/pl.treksoft.kvision.remote/-k-v-service-manager/web-sockets-requests.html b/api/pl.treksoft.kvision.remote/-k-v-service-manager/web-sockets-requests.html new file mode 100644 index 00000000..f27f974a --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-service-manager/web-sockets-requests.html @@ -0,0 +1,14 @@ + + + +KVServiceManager.webSocketsRequests - kvision + + + +kvision / pl.treksoft.kvision.remote / KVServiceManager / webSocketsRequests
+
+

webSocketsRequests

+ +val webSocketsRequests: MutableMap<String, suspend (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html new file mode 100644 index 00000000..e445cb05 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/-init-.html @@ -0,0 +1,15 @@ + + + +KVWebSocketConfig.<init> - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / <init>
+
+

<init>

+ +KVWebSocketConfig() +

Automatic websockets configuration.

+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html new file mode 100644 index 00000000..2ef3f390 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/application-context.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.applicationContext - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / applicationContext
+
+

applicationContext

+ +lateinit var applicationContext: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html new file mode 100644 index 00000000..1ca80257 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/index.html @@ -0,0 +1,94 @@ + + + +KVWebSocketConfig - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig
+
+

KVWebSocketConfig

+open class KVWebSocketConfig +

Automatic websockets configuration.

+

Constructors

+ + + + + + + +
+

<init>

+
+KVWebSocketConfig() +

Automatic websockets configuration.

+
+

Properties

+ + + + + + + + + + + +
+

applicationContext

+
+lateinit var applicationContext: <ERROR CLASS>
+

services

+
+lateinit var services: List<KVServiceManager<*>>
+

Functions

+ + + + + + + + + + + + + + + + + + + +
+

registerWebSocketHandlers

+
+open fun registerWebSocketHandlers(registry: <ERROR CLASS>): Unit
+

routeInterceptor

+
+open fun routeInterceptor(): <ERROR CLASS>
+

socketHandler

+
+open fun socketHandler(): <ERROR CLASS>
+

webSocketSession

+
+open fun webSocketSession(): <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html new file mode 100644 index 00000000..80d40bf2 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/register-web-socket-handlers.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.registerWebSocketHandlers - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / registerWebSocketHandlers
+
+

registerWebSocketHandlers

+ +open fun registerWebSocketHandlers(registry: <ERROR CLASS>): Unit + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html new file mode 100644 index 00000000..18bca5a0 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/route-interceptor.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.routeInterceptor - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / routeInterceptor
+
+

routeInterceptor

+ +open fun routeInterceptor(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html new file mode 100644 index 00000000..669aa7ed --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/services.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.services - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / services
+
+

services

+ +lateinit var services: List<KVServiceManager<*>> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html new file mode 100644 index 00000000..95b9091d --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/socket-handler.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.socketHandler - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / socketHandler
+
+

socketHandler

+ +open fun socketHandler(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html new file mode 100644 index 00000000..93eb1f91 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v-web-socket-config/web-socket-session.html @@ -0,0 +1,14 @@ + + + +KVWebSocketConfig.webSocketSession - kvision + + + +kvision / pl.treksoft.kvision.remote / KVWebSocketConfig / webSocketSession
+
+

webSocketSession

+ +open fun webSocketSession(): <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html b/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html new file mode 100644 index 00000000..4044b73e --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-k-v_-r-o-u-t-e_-i-d_-a-t-t-r-i-b-u-t-e.html @@ -0,0 +1,14 @@ + + + +KV_ROUTE_ID_ATTRIBUTE - kvision + + + +kvision / pl.treksoft.kvision.remote / KV_ROUTE_ID_ATTRIBUTE
+
+

KV_ROUTE_ID_ATTRIBUTE

+ +const val KV_ROUTE_ID_ATTRIBUTE: String + + diff --git a/api/pl.treksoft.kvision.remote/-main-module/-init-.html b/api/pl.treksoft.kvision.remote/-main-module/-init-.html deleted file mode 100644 index 6c6b8317..00000000 --- a/api/pl.treksoft.kvision.remote/-main-module/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -MainModule.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / MainModule / <init>
-
-

<init>

- -MainModule(application: <ERROR CLASS>) - - diff --git a/api/pl.treksoft.kvision.remote/-main-module/configure.html b/api/pl.treksoft.kvision.remote/-main-module/configure.html deleted file mode 100644 index 07871bc5..00000000 --- a/api/pl.treksoft.kvision.remote/-main-module/configure.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -MainModule.configure - kvision - - - -kvision / pl.treksoft.kvision.remote / MainModule / configure
-
-

configure

- -fun configure(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-main-module/index.html b/api/pl.treksoft.kvision.remote/-main-module/index.html deleted file mode 100644 index 8e1b5957..00000000 --- a/api/pl.treksoft.kvision.remote/-main-module/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -MainModule - kvision - - - -kvision / pl.treksoft.kvision.remote / MainModule
-
-

MainModule

-class MainModule -

Constructors

- - - - - - - -
-

<init>

-
-MainModule(application: <ERROR CLASS>)
-

Functions

- - - - - - - -
-

configure

-
-fun configure(): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html new file mode 100644 index 00000000..cca78b75 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/index.html @@ -0,0 +1,39 @@ + + + +WebSocketSessionHolder - kvision + + + +kvision / pl.treksoft.kvision.remote / WebSocketSessionHolder
+
+

WebSocketSessionHolder

+object WebSocketSessionHolder +

Properties

+ + + + + + + +
+

webSocketSession

+
+var webSocketSession: <ERROR CLASS>
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html new file mode 100644 index 00000000..79762c28 --- /dev/null +++ b/api/pl.treksoft.kvision.remote/-web-socket-session-holder/web-socket-session.html @@ -0,0 +1,14 @@ + + + +WebSocketSessionHolder.webSocketSession - kvision + + + +kvision / pl.treksoft.kvision.remote / WebSocketSessionHolder / webSocketSession
+
+

webSocketSession

+ +var webSocketSession: <ERROR CLASS> + + diff --git a/api/pl.treksoft.kvision.remote/-ws-session-module/-init-.html b/api/pl.treksoft.kvision.remote/-ws-session-module/-init-.html deleted file mode 100644 index afe20cc1..00000000 --- a/api/pl.treksoft.kvision.remote/-ws-session-module/-init-.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -WsSessionModule.<init> - kvision - - - -kvision / pl.treksoft.kvision.remote / WsSessionModule / <init>
-
-

<init>

- -WsSessionModule(webSocketSession: <ERROR CLASS>) - - diff --git a/api/pl.treksoft.kvision.remote/-ws-session-module/configure.html b/api/pl.treksoft.kvision.remote/-ws-session-module/configure.html deleted file mode 100644 index 99907c66..00000000 --- a/api/pl.treksoft.kvision.remote/-ws-session-module/configure.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -WsSessionModule.configure - kvision - - - -kvision / pl.treksoft.kvision.remote / WsSessionModule / configure
-
-

configure

- -fun configure(): Unit - - diff --git a/api/pl.treksoft.kvision.remote/-ws-session-module/index.html b/api/pl.treksoft.kvision.remote/-ws-session-module/index.html deleted file mode 100644 index b5641dd7..00000000 --- a/api/pl.treksoft.kvision.remote/-ws-session-module/index.html +++ /dev/null @@ -1,51 +0,0 @@ - - - -WsSessionModule - kvision - - - -kvision / pl.treksoft.kvision.remote / WsSessionModule
-
-

WsSessionModule

-class WsSessionModule -

Constructors

- - - - - - - -
-

<init>

-
-WsSessionModule(webSocketSession: <ERROR CLASS>)
-

Functions

- - - - - - - -
-

configure

-
-fun configure(): Unit
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
- - diff --git a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html b/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html index e6da72c9..0c3d8c8d 100644 --- a/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html +++ b/api/pl.treksoft.kvision.remote/add-path-patterns-from-services.html @@ -10,5 +10,6 @@

addPathPatternsFromServices

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

A function to gather paths for an interceptor from a list of service managers.

diff --git a/api/pl.treksoft.kvision.remote/apply-routes.html b/api/pl.treksoft.kvision.remote/apply-routes.html index 764152be..431ef8d2 100644 --- a/api/pl.treksoft.kvision.remote/apply-routes.html +++ b/api/pl.treksoft.kvision.remote/apply-routes.html @@ -10,5 +10,6 @@

applyRoutes

fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit +

A function to generate routes based on definitions from the service manager.

diff --git a/api/pl.treksoft.kvision.remote/index.html b/api/pl.treksoft.kvision.remote/index.html index 11309d6e..a754753f 100644 --- a/api/pl.treksoft.kvision.remote/index.html +++ b/api/pl.treksoft.kvision.remote/index.html @@ -23,13 +23,6 @@ -

CallModule

- - -class CallModule - - -

Credentials

@@ -39,17 +32,10 @@ -

DummyWebSocketServerSession

- - -class DummyWebSocketServerSession - - - -

DummyWsSessionModule

+

DummyWebSocketSession

-class DummyWsSessionModule +open class DummyWebSocketSession @@ -65,7 +51,9 @@

KVController

-open class KVController +open class KVController +

Controller for handling automatic routes.

+ @@ -87,19 +75,21 @@ -

LoginService

+

KVWebSocketConfig

-class LoginService -

Form login dispatcher.

+open class KVWebSocketConfig +

Automatic websockets configuration.

-

MainModule

+

LoginService

-class MainModule +class LoginService +

Form login dispatcher.

+ @@ -148,10 +138,10 @@ -

WsSessionModule

+

WebSocketSessionHolder

-class WsSessionModule +object WebSocketSessionHolder @@ -218,6 +208,13 @@ val injectorKey: <ERROR CLASS> + + +

KV_ROUTE_ID_ATTRIBUTE

+ + +const val KV_ROUTE_ID_ATTRIBUTE: String +

Functions

@@ -228,14 +225,18 @@

addPathPatternsFromServices

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

A function to gather paths for an interceptor from a list of service managers.

+

applyRoutes

-fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit +fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit +

A function to generate routes based on definitions from the service manager.

+ @@ -251,8 +252,11 @@

kvisionInit

-fun <ERROR CLASS>.kvisionInit(): Unit
-fun <ERROR CLASS>.kvisionInit(vararg modules: <ERROR CLASS>): Unit +fun <ERROR CLASS>.kvisionInit(): Unit +

Initialization function for Jooby server.

+fun <ERROR CLASS>.kvisionInit(vararg modules: <ERROR CLASS>): Unit +

Initialization function for Ktor server.

+ @@ -273,13 +277,6 @@

A helper extension function for processing with authenticated user profile.

- - -

writeJSON

- - -fun <ERROR CLASS>.writeJSON(json: String): Unit - diff --git a/api/pl.treksoft.kvision.remote/kvision-init.html b/api/pl.treksoft.kvision.remote/kvision-init.html index 824f1fa6..1892b1fa 100644 --- a/api/pl.treksoft.kvision.remote/kvision-init.html +++ b/api/pl.treksoft.kvision.remote/kvision-init.html @@ -9,8 +9,10 @@

kvisionInit

-fun <ERROR CLASS>.kvisionInit(): Unit
+fun <ERROR CLASS>.kvisionInit(): Unit +

Initialization function for Jooby server.

fun <ERROR CLASS>.kvisionInit(vararg modules: <ERROR CLASS>): Unit +

Initialization function for Ktor server.

diff --git a/api/pl.treksoft.kvision.remote/write-j-s-o-n.html b/api/pl.treksoft.kvision.remote/write-j-s-o-n.html deleted file mode 100644 index dc373db0..00000000 --- a/api/pl.treksoft.kvision.remote/write-j-s-o-n.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -writeJSON - kvision - - - -kvision / pl.treksoft.kvision.remote / writeJSON
-
-

writeJSON

- -fun <ERROR CLASS>.writeJSON(json: String): Unit - - -- cgit