Table of Contents

Class HttpResponseData

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Represents the response data for an intercepted HTTP call.

public class HttpResponseData
Inheritance
HttpResponseData
Inherited Members

Constructors

HttpResponseData()

Initializes a new instance of the HttpResponseData type.

public HttpResponseData()

Properties

Body

Gets or sets the body of the HTTP response.

public string? Body { get; set; }

Property Value

string

Content

Gets or sets the content of the HTTP response.

public HttpResponseContent? Content { get; set; }

Property Value

HttpResponseContent

CookieHeaders

Gets the cookie headers of the HTTP response.

public List<string> CookieHeaders { get; }

Property Value

List<string>

ErrorReason

Gets or sets the reason for an error response.

public string? ErrorReason { get; set; }

Property Value

string

Headers

Gets the headers of the HTTP response.

public Dictionary<string, string> Headers { get; }

Property Value

Dictionary<string, string>

RequestId

Gets or sets the ID of the request that generated this response.

public string? RequestId { get; set; }

Property Value

string

ResourceType

Gets or sets the type of resource for this response.

public string? ResourceType { get; set; }

Property Value

string

StatusCode

Gets or sets the numeric status code of the HTTP response.

public long StatusCode { get; set; }

Property Value

long

Url

Gets or sets the URL of the HTTP response.

public string? Url { get; set; }

Property Value

string