Listener¶
WebSocket listener that routes incoming connections to LiveView instances.
Create a Router, register paths with factories, then pass the frozen
Routes to the listener.
Implements¶
- TCPListenerActor tag
Constructors¶
create¶
new tag create(
auth: TCPListenAuth val,
host: String val,
port: String val,
routes: Routes val,
pub_sub: PubSub tag,
out: OutStream tag)
: Listener tag^
Parameters¶
- auth: TCPListenAuth val
- host: String val
- port: String val
- routes: Routes val
- pub_sub: PubSub tag
- out: OutStream tag
Returns¶
- Listener tag^