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

Represents parameters that are passed to the NetworkDelegate.OnBeforeRedirect(BeforeRedirectParams) method. More...

Inherits DotNetBrowser.RequestParams.

Public Member Functions

 BeforeRedirectParams (long requestId, string url, string method, int responseCode, string newURL)
 Constructs a new RequestParams 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 HTTP response code (e.g., 200, 404, and so on). More...
 
string NewURL [get]
 Gets the new URL. 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.OnBeforeRedirect(BeforeRedirectParams) method.

Constructor & Destructor Documentation

DotNetBrowser.BeforeRedirectParams.BeforeRedirectParams ( long  requestId,
string  url,
string  method,
int  responseCode,
string  newURL 
)

Constructs a new RequestParams instance with specified parameters.

Parameters
requestIdA globally unique identifier for this request.
urlThe current request URL.
methodThe current request method ("GET", "POST" etc.).
responseCodeThe HTTP response code (e.g., 200, 404, and so on).
newURLThe new URL.

Property Documentation

string DotNetBrowser.BeforeRedirectParams.NewURL
get

Gets the new URL.

int DotNetBrowser.BeforeRedirectParams.ResponseCode
get

Gets the HTTP response code (e.g., 200, 404, and so on).