Class NetworkResponseReceivedEventArgs
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
HttpResponseDataThe 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
ResponseBody
Gets the body of the network response.
public string ResponseBody { get; }
Property Value
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
ResponseHeaders
Gets the headers associated with this network response.
public IReadOnlyDictionary<string, string> ResponseHeaders { get; }
Property Value
ResponseResourceType
Gets the type of resource of the network response.
public string ResponseResourceType { get; }
Property Value
ResponseStatusCode
Gets the HTTP status code of the network response.
public long ResponseStatusCode { get; }
Property Value
ResponseUrl
Gets the URL of the network response.
public string ResponseUrl { get; }