Package-level declarations

Types

Link copied to clipboard
data class ClosedWebsocket(val status: WsStatus = NORMAL) : RuntimeException
Link copied to clipboard

This class is a test client for a PolyHandler which allows the invocation of the underlying handlers.

Link copied to clipboard

A class that is used for offline testing of a routed Sse, without starting up a Server.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Functions

Link copied to clipboard
fun PolyHandler.testHttpClient(request: Request): <Error class: unknown class>
Link copied to clipboard
fun SseHandler.testSseClient(request: Request): TestSseClient
fun PolyHandler.testSseClient(request: Request): TestSseClient
Link copied to clipboard
fun WsHandler.testWebsocket(request: Request): Websocket
Link copied to clipboard
fun WsHandler.testWsClient(request: Request): TestWsClient
fun PolyHandler.testWsClient(request: Request): TestWsClient
Link copied to clipboard

Use this client nd then close it