JettyWsClientAdapter

Client to use other REST services.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun send(request: HttpRequestPort): HttpResponsePort
Link copied to clipboard
open override fun shutDown()
Link copied to clipboard
open override fun sse(request: HttpRequestPort): Flow.Publisher<ServerEvent>
Link copied to clipboard
open override fun started(): Boolean
Link copied to clipboard
open override fun startUp(client: HttpClient)
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