Class NetworkRequest
A network request record, which is used to store the information of a network request initiated by the browser.
Inheritance
Object
NetworkRequest
Namespace: AxaFrance.WebEngine
Assembly: AxaFrance.WebEngine.dll
Syntax
[Serializable]
public class NetworkRequest
Properties
| Edit this page View SourceDuration
The duration of the network request.
Declaration
public TimeSpan? Duration { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
IsCached
If the request is cached (to ignore the calculation of downloaded size)
Declaration
public bool IsCached { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Method
The http method of the network request.
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
String |
Received
The date and time when the response was received from server
Declaration
public DateTime? Received { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
Reponse
The size of the response.
Declaration
public long Reponse { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Request
The size of the request.
Declaration
public long Request { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
RequestId
The request id of the network request.
Declaration
public string RequestId { get; set; }
Property Value
Type | Description |
---|---|
String |
ResourceType
The type of the resource.
Declaration
public string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
String |
Sent
The date and time when the request was sent to server
Declaration
public DateTime? Sent { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
StatusCode
The status code of the network request.
Declaration
public long StatusCode { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
TimeStamp
The time stamp of the network request.
Declaration
public long TimeStamp { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Url
The url of the network request.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
String |