Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ServerOptions

Index

Properties

WebSocket?: typeof WebSocket
backlog?: number
clientTracking?: boolean
host?: string
maxPayload?: number
noServer?: boolean
path?: string
perMessageDeflate?: boolean | WebSocket.PerMessageDeflateOptions
port?: number
server?: Server<WebSocket> | Server<typeof IncomingMessage, typeof ServerResponse>
skipUTF8Validation?: boolean

Methods

  • handleProtocols(protocols: Set<string>, request: IncomingMessage): string | false
  • Parameters

    • protocols: Set<string>
    • request: IncomingMessage

    Returns string | false