DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.RequestCompletedParams Class Reference

Represents parameters that are passed to the NetworkDelegate.OnCompleted(RequestCompletedParams) method. More...

Inherits DotNetBrowser.RequestParams.

Public Member Functions

 RequestCompletedParams (long requestId, string url, string method, int responseCode, RequestStatus status, NetError?errorCode)
 Constructs a new RequestCompletedParams instance with specified parameters. More...
 
- Public Member Functions inherited from DotNetBrowser.RequestParams
 RequestParams (long requestId, string url, string method)
 Constructs a new RequestParams instance with specified parameters. More...
 

Properties

int ResponseCode [get]
 Gets the response code of the current URL request. More...
 
RequestStatus Status [get]
 Gets status of the current URL request. More...
 
NetError ErrorCode [get]
 Gets error code of the current URL request. More...
 
- Properties inherited from DotNetBrowser.RequestParams
string Url [get, protected set]
 Gets the current request URL. More...
 
long RequestId [get]
 Gets a globally unique identifier for this request. More...
 
string Method [get]
 Gets the current request method ("GET", "POST" etc.). More...
 

Detailed Description

Represents parameters that are passed to the NetworkDelegate.OnCompleted(RequestCompletedParams) method.

Constructor & Destructor Documentation

DotNetBrowser.RequestCompletedParams.RequestCompletedParams ( long  requestId,
string  url,
string  method,
int  responseCode,
RequestStatus  status,
NetError errorCode 
)

Constructs a new RequestCompletedParams instance with specified parameters.

Parameters
requestIdA globally unique identifier for this request.
urlThe current request URL.
methodThe current request method ("GET", "POST" etc.).
responseCodeThe response code of the current URL request.
statusStatus of the current URL request.
errorCodeError code of the current URL request.

Property Documentation

NetError DotNetBrowser.RequestCompletedParams.ErrorCode
get

Gets error code of the current URL request.

int DotNetBrowser.RequestCompletedParams.ResponseCode
get

Gets the response code of the current URL request.

RequestStatus DotNetBrowser.RequestCompletedParams.Status
get

Gets status of the current URL request.