class WebSocketNegotiation
source · line 11public
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 deflate
source · line 19public
public val deflate: WebSocketDeflateNegotiation?
get: public read-only
Effective permessage-deflate negotiation, or None when disabled.
property protocol
source · line 15public
public val protocol: String?
get: public read-only
The selected offered subprotocol, or None.