automorph.transport.websocket.endpoint.VertxWebSocketEndpoint
See theVertxWebSocketEndpoint companion object
final case class VertxWebSocketEndpoint[Effect[_]](effectSystem: EffectSystem[Effect], handler: RequestHandler[Effect, Context]) extends Handler[ServerWebSocket], EndpointTransport[Effect, Context, Handler[ServerWebSocket]]
Vert.x WebSocket endpoint message 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
- Constructor
-
Creates a Vert.x Websocket endpoint message transport plugin with specified effect system and request handler.
- See also
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Handler[ServerWebSocket]class Objecttrait Matchableclass Any
Members list
In this article