HttpClientPort
interface HttpClientPort
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Return the client adapter's supported features.
Link copied to clipboard
Return the server adapter's supported protocols.
Link copied to clipboard
abstract 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