JavaClientAdapter
class JavaClientAdapter(protocol: HttpProtocol = HTTP2, executor: Executor? = null) : HttpClientPort
Client to use other REST services.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun ws(path: String, onConnect: WsSession.() -> Unit, onBinary: WsSession.(data: ByteArray) -> Unit, onText: WsSession.(text: String) -> Unit, onPing: WsSession.(data: ByteArray) -> Unit, onPong: WsSession.(data: ByteArray) -> Unit, onClose: WsSession.(status: Int, reason: String) -> Unit): WsSession