Scoop API

scoop:scoop.http:0.1.0

WebSocketNegotiation

class WebSocketNegotiation

source · line 11
public
public class WebSocketNegotiation internal constructor(
    /**
     * The selected offered subprotocol, or None.
     */
    public val protocol: String?,
        /**
         * Effective permessage-deflate negotiation, or None when disabled.
         */
        public val deflate: WebSocketDeflateNegotiation?
)

The accepted optional subprotocol and permessage-deflate parameters.

property protocol

source · line 15
public
public val protocol: String?

get: public read-only

The selected offered subprotocol, or None.