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

Represents parameters that are passed to the NetworkDelegate.OnBeforeSendProxyHeaders(BeforeSendProxyHeadersParams) method. More...

Inherits DotNetBrowser.RequestParams.

Public Member Functions

 BeforeSendProxyHeadersParams (long requestId, string url, string method, HttpHeaders headers, HttpHeadersEx headersEx, bool didBypassProxy, bool didUsePacScript, ProxyType proxyType, HostPortPair hostPortPair)
 Constructs a new BeforeSendProxyHeadersParams 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

HttpHeaders Headers [get]
 Gets HTTP headers for the current request. More...
 
HttpHeadersEx HeadersEx [get]
 Gets HTTP headers for the current request. More...
 
bool DidBypassProxy [get]
 Gets true if the current proxy connection is using a direct connection due to proxy bypass rules. More...
 
bool DidUsePacScript [get]
 Gets true if the current proxy connection has been created using a PAC script. More...
 
ProxyType ProxyType [get]
 Gets type of the current proxy connection. More...
 
HostPortPair ProxyServerAddress [get]
 Gets address of the current proxy server. 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.OnBeforeSendProxyHeaders(BeforeSendProxyHeadersParams) method.

Constructor & Destructor Documentation

DotNetBrowser.BeforeSendProxyHeadersParams.BeforeSendProxyHeadersParams ( long  requestId,
string  url,
string  method,
HttpHeaders  headers,
HttpHeadersEx  headersEx,
bool  didBypassProxy,
bool  didUsePacScript,
ProxyType  proxyType,
HostPortPair  hostPortPair 
)

Constructs a new BeforeSendProxyHeadersParams instance with specified parameters.

Parameters
requestIdA globally unique identifier for this request.
urlThe current request URL.
methodThe current request method ("GET", "POST" etc.).
headersHTTP headers for the current request.

///

Parameters
headersExHTTP headers for the current request.
didBypassProxyIndicates whether the current proxy connection is using a direct connection due to proxy bypass rules.
didUsePacScriptIndicates whether the current proxy connection has been created using a PAC script.
proxyTypeType of the current proxy connection.
hostPortPairAddress of the current proxy server.

Property Documentation

bool DotNetBrowser.BeforeSendProxyHeadersParams.DidBypassProxy
get

Gets true if the current proxy connection is using a direct connection due to proxy bypass rules.

bool DotNetBrowser.BeforeSendProxyHeadersParams.DidUsePacScript
get

Gets true if the current proxy connection has been created using a PAC script.

HttpHeaders DotNetBrowser.BeforeSendProxyHeadersParams.Headers
get

Gets HTTP headers for the current request.

HttpHeadersEx DotNetBrowser.BeforeSendProxyHeadersParams.HeadersEx
get

Gets HTTP headers for the current request.

HostPortPair DotNetBrowser.BeforeSendProxyHeadersParams.ProxyServerAddress
get

Gets address of the current proxy server.

ProxyType DotNetBrowser.BeforeSendProxyHeadersParams.ProxyType
get

Gets type of the current proxy connection.