Type alias WebSocketRequestHandler

WebSocketRequestHandler: ((socket, request, next) => void)

The WebSocket Request Handler callback

Type declaration

    • (socket, request, next): void
    • Parameters

      • socket: WebSocketInstance
      • request: Request
      • next: NextFunction

      Returns void