interface Dependencies {
    WebSocket?: (new (url, protocols?) => WebSocket);
    room?: any;
    session?: Session;
}

Properties

WebSocket?: (new (url, protocols?) => WebSocket)

Type declaration

    • new (url, protocols?): WebSocket
    • Parameters

      • url: string | URL
      • Optional protocols: string | string[]

      Returns WebSocket

room?: any
session?: Session