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