Skip to content

Listener

[Source]

WebSocket listener that routes incoming connections to LiveView instances.

Create a Router, register paths with factories, then pass the frozen Routes to the listener.

actor tag Listener is
  TCPListenerActor tag

Implements


Constructors

create

[Source]

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

Returns


Public Behaviours

dispose

[Source]

be dispose()