Table of Contents

Class WebSocketResponse

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

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

Status long

HTTP response status code.

StatusText string

HTTP response status text.

Headers IReadOnlyDictionary<string, string>

HTTP response headers.

Properties

Headers

HTTP response headers.

public IReadOnlyDictionary<string, string> Headers { get; init; }

Property Value

IReadOnlyDictionary<string, string>

HeadersText

HTTP response headers text.

public string? HeadersText { get; init; }

Property Value

string

RequestHeaders

HTTP request headers.

public IReadOnlyDictionary<string, string>? RequestHeaders { get; init; }

Property Value

IReadOnlyDictionary<string, string>

RequestHeadersText

HTTP request headers text.

public string? RequestHeadersText { get; init; }

Property Value

string

Status

HTTP response status code.

public long Status { get; init; }

Property Value

long

StatusText

HTTP response status text.

public string StatusText { get; init; }

Property Value

string