Interface ServerOptions<U, V>

Type Parameters

Hierarchy

  • ServerOptions

Properties

WebSocket?: U
backlog?: number
clientTracking?: boolean
handleProtocols?: ((protocols, request) => string | false)

Type declaration

    • (protocols, request): string | false
    • Parameters

      • protocols: Set<string>
      • request: InstanceType<V>

      Returns string | false

host?: string
maxPayload?: number
noServer?: boolean
path?: string
perMessageDeflate?: boolean | PerMessageDeflateOptions
port?: number
server?: Server<V, typeof ServerResponse> | Server<V, typeof ServerResponse>
skipUTF8Validation?: boolean
verifyClient?: VerifyClientCallbackAsync<InstanceType<V>> | VerifyClientCallbackSync<InstanceType<V>>

Generated using TypeDoc