Represents parameters that are passed to the NetworkDelegate.OnBeforeSendProxyHeaders(BeforeSendProxyHeadersParams) method.
More...
Inherits DotNetBrowser.RequestParams.
|
| 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...
|
|
| RequestParams (long requestId, string url, string method) |
| Constructs a new RequestParams instance with specified parameters. More...
|
|
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
-
requestId | A globally unique identifier for this request. |
url | The current request URL. |
method | The current request method ("GET", "POST" etc.). |
headers | HTTP headers for the current request. |
///
- Parameters
-
headersEx | HTTP headers for the current request. |
didBypassProxy | Indicates whether the current proxy connection is using a direct connection due to proxy bypass rules. |
didUsePacScript | Indicates whether the current proxy connection has been created using a PAC script. |
proxyType | Type of the current proxy connection. |
hostPortPair | Address of the current proxy server. |
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.