Scoop API

scoop:scoop.http:0.1.0

src/websocket/server_response.scoop

Selected production source · src/websocket/server_response.scoop

1package scoop.http
3/** A generated server upgrade response and the negotiation already checked while constructing it. */
4public class WebSocketServerResponse internal constructor(
5 /** The generated HTTP/1.1 101 response, including extra application fields. */
6 public val head: HttpResponseHead,
7 /** The selected protocol and compression settings for the established session. */
8 public val negotiation: WebSocketNegotiation
9)