Class WebSocketHttpRequest
Defines an HTTP request via the WebSocket protocol.
public class WebSocketHttpRequest
- Inheritance
-
WebSocketHttpRequest
- Inherited Members
Constructors
WebSocketHttpRequest()
public WebSocketHttpRequest()
Properties
Body
Gets or sets the body of the request
public string Body { get; set; }
Property Value
Headers
Gets the headers for the request.
public IDictionary<string, string> Headers { get; }
Property Value
this[string]
Gets or sets the value associated with the specified header.
public string this[string name] { get; }
Parameters
name
stringThe name of the header.
Property Value
- string
The value of the header, if it exists. If it does not exist, returns an empty string.
Method
Gets or sets the HTTP method of the request.
public string Method { get; set; }
Property Value
Path
Gets or sets the path of the request.
public string Path { get; set; }
Property Value
Payload
Gets or sets the WebSocket payload of the request.
public byte[] Payload { get; set; }
Property Value
- byte[]
Scheme
Gets or sets the scheme of the request.
public string Scheme { get; set; }