LoadUrlParametersHttpHeaders Property |
Gets or sets the HTTP headers that will be sent with the request.
Namespace:
DotNetBrowser.Navigation
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.14
Syntaxpublic IEnumerable<HttpHeader> HttpHeaders { get; set; }
Property Value
Type:
IEnumerableHttpHeaderThe HTTP headers that will be sent with the request. Cannot be null or contain null items.
ExceptionsException | Condition |
---|
ArgumentException | The value is null or contains null items. |
Remarks
Setting certain forbidden headers (such as 'Referer', 'Host', 'Content-Length', 'Keep-Alive', 'Proxy-headers',
'TE', etc.) will have no effect due to browser security restrictions. These headers are controlled by the browser and
cannot be set for
LoadUrlParameters for security reasons.
See Also