Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @laniakea/network-server

Index

Type aliases

AuthCallback

AuthCallback: (req: http.IncomingMessage) => AuthResult

An AuthCallback should authenticate the player making the incoming WebSocket connection (by inspecting the http.IncomingMessage). If the WebSocket authenticates, the negotiation of webRTC can begin.

Type declaration

AuthResult

Functions

INSECURE_AuthCallback

  • INSECURE_AuthCallback(httpRequest: http.IncomingMessage): AuthResult

Generated using TypeDoc