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
port?: number
server?: Server<typeof IncomingMessage, typeof ServerResponse> | 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