Rpc Service Manager
Fullstack RPC service manager.
actual open class RpcServiceManager<out T : Any>(serviceClass: KClass<T>) : RpcServiceManagerJs<T> , RpcServiceMgr<T>
Fullstack RPC service manager.
actual open class RpcServiceManager<out T : Any>(serviceClass: KClass<T>) : RpcServiceBinder<T, RequestHandler, WebsocketHandler, SseHandler> , RpcServiceMgr<T>
Fullstack service manager for Jooby.
Constructors
Properties
Functions
bind
Link copied to clipboard
inline fun <PAR : Any> bind(noinline function: suspend T.(SendChannel<PAR>) -> Unit, route: String?)
inline fun <PAR1 : Any, PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String?)
inline fun <PAR, RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, PAR4, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?)
inline fun <PAR : Any> bind(noinline function: suspend T.(SendChannel<PAR>) -> Unit, route: String?)
inline fun <PAR1 : Any, PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String?)
inline fun <PAR, RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, PAR4, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?)
inline fun <PAR : Any> bind(noinline function: suspend T.(SendChannel<PAR>) -> Unit, route: String?)
inline fun <PAR1 : Any, PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String?)
inline fun <PAR, RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?)
inline fun <PAR1, PAR2, PAR3, PAR4, RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?)
bind Remote Data
Link copied to clipboard
Link copied to clipboard
open override fun <RET> createRequestHandler(method: HttpMethod, function: suspend T.(params: List<String?>) -> RET, numberOfParams: Int, serializerFactory: () -> KSerializer<RET>): RequestHandler
Link copied to clipboard
open override fun <PAR> createSseHandler(function: suspend T.(SendChannel<PAR>) -> Unit, serializerFactory: () -> KSerializer<PAR>): SseHandler
Link copied to clipboard
open override fun <REQ, RES> createWebsocketHandler(function: suspend T.(ReceiveChannel<REQ>, SendChannel<RES>) -> Unit, requestSerializerFactory: () -> KSerializer<REQ>, responseSerializerFactory: () -> KSerializer<RES>): WebsocketHandler
get Call
Link copied to clipboard
require Call
Link copied to clipboard