package finasocket
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class Client(uri: URI, channel: Channel, headers: Map[String, String], onRead: AsyncStream[Frame], onWrite: AsyncStream[Frame], onClose: Future[Unit] = new Promise[Unit], close: () ⇒ Unit = () => ()) extends Product with Serializable
- class ClientDispatcher extends GenSerialClientDispatcher[Request, Response, Any, Any]
-
sealed
trait
Frame extends AnyRef
Represents various WebSocket frames.
Represents various WebSocket frames.
This is a simplification of the frame types described in RFC6455[1]. Notably absent are Continuation and Close. Close is handled directly in the pipeline, initiating the close handshake. Continuations are treated as Binary frames, which means we lose the ability to determine fragmentation.
[1]: https://tools.ietf.org/html/rfc6455
- case class Request(uri: URI, headers: Map[String, String], remoteAddress: SocketAddress, messages: AsyncStream[Frame]) extends Product with Serializable
- case class Response(onReceived: AsyncStream[Frame]) extends Product with Serializable
- class ServerDispatcher extends Closable
- class WebSocketClientHandler extends ChannelInboundHandlerAdapter
- class WebSocketServerHandler extends ChannelInboundHandlerAdapter