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

Represents parameters that are passed to the NetworkDelegate.OnBeforeURLRequest(BeforeURLRequestParams) method. More...

Inherits DotNetBrowser.RequestParams.

Public Member Functions

 BeforeURLRequestParams (long requestId, string url, string method, PostData postData)
 Constructs a new BeforeURLRequestParams instance with specified parameters. More...
 
void SetUrl (string value)
 Sets the new URL for request. 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

PostData PostData [get, set]
 Gets or sets PostData instance that provides access to post data. Changes will not be applied until BeforeURLRequestParams.SetPostData(PostData) method is called. 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.OnBeforeURLRequest(BeforeURLRequestParams) method.

Constructor & Destructor Documentation

DotNetBrowser.BeforeURLRequestParams.BeforeURLRequestParams ( long  requestId,
string  url,
string  method,
PostData  postData 
)

Constructs a new BeforeURLRequestParams instance with specified parameters.

Parameters
requestIdA globally unique identifier for this request.
urlThe current request URL.
methodThe current request method ("GET", "POST" etc.).
postDataThe new POST data that will be sent with POST request.

Member Function Documentation

void DotNetBrowser.BeforeURLRequestParams.SetUrl ( string  value)

Sets the new URL for request.

Property Documentation

PostData DotNetBrowser.BeforeURLRequestParams.PostData
getset

Gets or sets PostData instance that provides access to post data. Changes will not be applied until BeforeURLRequestParams.SetPostData(PostData) method is called.