Type alias SocketHandler

SocketHandler: ((req, ws) => Promise<void>)

Type declaration

    • (req, ws): Promise<void>
    • Parameters

      • req: IncomingMessage
      • ws: WebSocket

      Returns Promise<void>

Generated using TypeDoc