Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ServerOptions

Index

Properties

backlog?: number
clientTracking?: boolean
host?: string
maxPayload?: number
noServer?: boolean
path?: string
perMessageDeflate?: boolean | WebSocket.PerMessageDeflateOptions
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