init(requestKey:maxFrameSize:automaticErrorHandling:upgradePipelineHandler:)

    NIOWebSocketClientUpgrader.swift:43
    init(requestKey: String = randomRequestKey(), maxFrameSize: Int = 1 << 14, automaticErrorHandling: Bool = true, upgradePipelineHandler: @escaping (Channel, HTTPResponseHead) -> EventLoopFuture<Void>)

    Parameters

    requestKey

    sent to the server in the Sec-WebSocket-Key HTTP header. Default is random request key.

    maxFrameSize

    largest incoming WebSocketFrame size in bytes. Default is 16,384 bytes.

    automaticErrorHandling

    If true, adds WebSocketProtocolErrorHandler to the channel pipeline to catch and respond to WebSocket protocol errors. Default is true.

    upgradePipelineHandler

    called once the upgrade was successful

    Other members in extension

    Type members

    Instance members