Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: HttpResponseWebSocket(WebSocket, string, HttpResponseHeaders)

Declaration

public HttpResponseWebSocket(
    WebSocket websocket,
    string subprotocol = null,
    HttpResponseHeaders headers = null
)

Summary

Constructor.

Parameters

WebSocketwebsocket The WebSocket implementation to use for the remainder of the connection.
stringsubprotocol The server’s selection of a subprotocol, if the client specified any subprotocols in the request.
HttpResponseHeadersheaders Optional HTTP response headers.