**This package is experimental and subject to breaking changes between
versions**. We currently don't support the complete Websocket spec but there
is enough support for basic servers
The Websocket protocol defines an asynchronous application protocol. Since
unlike HTTP or other similar protocols there are no requests or responses,
writing a Websocket server is slightly different from other service-protocol
servers. In particular, you should use the WebsocketServer to start a
server and the WebsocketServerHandler to define a connection handler.
The subprotocols package contains some basic sub-protocols, but these
tend to be application specific so support is limited.
Websocket connection handlers are designed to behave like actors, and mixing
in the ProxyActor trait can make Websocket connections behave like and
interact with Akka actors.
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By inheritance
Inherited
websocket
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
case classFrame(header: Header, payload: DataBlock) extends Product with Serializable
A Frame represents a single chunk of data sent by either the client or server.
**This package is experimental and subject to breaking changes between versions**. We currently don't support the complete Websocket spec but there is enough support for basic servers
The Websocket protocol defines an asynchronous application protocol. Since unlike HTTP or other similar protocols there are no requests or responses, writing a Websocket server is slightly different from other service-protocol servers. In particular, you should use the WebsocketServer to start a server and the WebsocketServerHandler to define a connection handler.
The subprotocols package contains some basic sub-protocols, but these tend to be application specific so support is limited.
Websocket connection handlers are designed to behave like actors, and mixing in the
ProxyActor
trait can make Websocket connections behave like and interact with Akka actors.