Packages

p

io.github.cactacea

finasocket

package finasocket

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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
  2. class ClientDispatcher extends GenSerialClientDispatcher[Request, Response, Any, Any]
  3. 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

  4. case class Request(uri: URI, headers: Map[String, String], remoteAddress: SocketAddress, messages: AsyncStream[Frame]) extends Product with Serializable
  5. case class Response(onReceived: AsyncStream[Frame]) extends Product with Serializable
  6. class ServerDispatcher extends Closable
  7. class WebSocketClientHandler extends ChannelInboundHandlerAdapter
  8. class WebSocketServerHandler extends ChannelInboundHandlerAdapter

Value Members

  1. object Example extends App
  2. object ExampleClient extends App
  3. object Frame
  4. object WebSocket extends Server[Client, Client]

Ungrouped