http4k / org.http4k.websocket / WsClient
interface WsClient
Name | Summary |
---|---|
close | abstract fun close(status: WsStatus = NORMAL): Unit |
received | abstract fun received(): Sequence < WsMessage > |
send | abstract fun send(message: WsMessage ): Unit |
Name | Summary |
---|---|
BlockingWsClient | class BlockingWsClient : WsClient |
TestWsClient | A class that is used for offline testing of a routed Websocket, without starting up a Server. Calls are routed synchronously to the receiving Websocket, and error are propagated to the caller.class TestWsClient : WsClient |