automorph.transport.websocket.endpoint.UndertowWebSocketEndpoint
See theUndertowWebSocketEndpoint companion object
final case class UndertowWebSocketEndpoint[Effect[_]](effectSystem: EffectSystem[Effect], handler: RequestHandler[Effect, Context]) extends WebSocketConnectionCallback, AutoCloseable, EndpointTransport[Effect, Context, WebSocketConnectionCallback]
Undertow WebSocket endpoint transport plugin.
Interprets WebSocket request message as an RPC request and processes it using the specified RPC request handler.
- The response returned by the RPC request handler is used as WebSocket response message.
Type parameters
- Effect
-
effect type
Value parameters
- effectSystem
-
effect system plugin
- handler
-
RPC request handler
Attributes
Members list
In this article