Class WebSocketResponse
WebSocket response data.
public sealed record WebSocketResponse : IEquatable<WebSocketResponse>
- Inheritance
-
WebSocketResponse
- Implements
- Inherited Members
Constructors
WebSocketResponse(long, string, IReadOnlyDictionary<string, string>)
WebSocket response data.
public WebSocketResponse(long Status, string StatusText, IReadOnlyDictionary<string, string> Headers)
Parameters
StatuslongHTTP response status code.
StatusTextstringHTTP response status text.
HeadersIReadOnlyDictionary<string, string>HTTP response headers.
Properties
Headers
HTTP response headers.
public IReadOnlyDictionary<string, string> Headers { get; init; }
Property Value
HeadersText
HTTP response headers text.
public string? HeadersText { get; init; }
Property Value
RequestHeaders
HTTP request headers.
public IReadOnlyDictionary<string, string>? RequestHeaders { get; init; }
Property Value
RequestHeadersText
HTTP request headers text.
public string? RequestHeadersText { get; init; }
Property Value
Status
HTTP response status code.
public long Status { get; init; }
Property Value
StatusText
HTTP response status text.
public string StatusText { get; init; }