SocketServer.attach

Attachs a chain of events.

  1. void attach(SocketEventType eventType, SocketEvent!T event)
  2. void attach(SocketEventType eventType, SocketEvent!T[] events)
    class SocketServer(T)

Parameters

eventType

The event type to attach.

events
Type: SocketEvent!T[]

The chain of event handlers to attach.

Meta