class WebSocketServerResponse
source · line 4public
public class WebSocketServerResponse internal constructor(
/** The generated HTTP/1.1 101 response, including extra application fields. */
public val head: HttpResponseHead,
/** The selected protocol and compression settings for the established session. */
public val negotiation: WebSocketNegotiation
)
A generated server upgrade response and the negotiation already checked while constructing it.
property head
source · line 6public
public val head: HttpResponseHead
get: public read-only
The generated HTTP/1.1 101 response, including extra application fields.
property negotiation
source · line 8public
public val negotiation: WebSocketNegotiation
get: public read-only
The selected protocol and compression settings for the established session.