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/index-outline.html | 218 ++++++++++++++++++++----------------------------- 1 file changed, 90 insertions(+), 128 deletions(-) (limited to 'api/index-outline.html') 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
-- cgit