Table of Contents

Class NetworkResponseReceivedEventArgs

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

Provides data for the NetworkResponseReceived event of an object implementing the INetwork interface.

public class NetworkResponseReceivedEventArgs : EventArgs
Inheritance
NetworkResponseReceivedEventArgs
Inherited Members

Constructors

NetworkResponseReceivedEventArgs(HttpResponseData)

Initializes a new instance of the NetworkResponseReceivedEventArgs class.

public NetworkResponseReceivedEventArgs(HttpResponseData responseData)

Parameters

responseData HttpResponseData

The HttpResponseData that describes the network response.

Properties

RequestId

Gets the request ID of the network request that generated this response.

public string RequestId { get; }

Property Value

string

ResponseBody

Gets the body of the network response.

public string ResponseBody { get; }

Property Value

string

Remarks

This property is an alias for ResponseContent.ReadAsString() to keep backward compatibility.

ResponseContent

Gets the content of the network response.

public HttpResponseContent ResponseContent { get; }

Property Value

HttpResponseContent

ResponseHeaders

Gets the headers associated with this network response.

public IReadOnlyDictionary<string, string> ResponseHeaders { get; }

Property Value

IReadOnlyDictionary<string, string>

ResponseResourceType

Gets the type of resource of the network response.

public string ResponseResourceType { get; }

Property Value

string

ResponseStatusCode

Gets the HTTP status code of the network response.

public long ResponseStatusCode { get; }

Property Value

long

ResponseUrl

Gets the URL of the network response.

public string ResponseUrl { get; }

Property Value

string