Request SetHeader Method (String, String)C# API
Sets an HTTP header for this Request, as a name/value pair.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.0.0.115 (1.0.0.0)
Syntax

public virtual void SetHeader(
	string header,
	string value
)
Remarks

The header will be sent to the web server when this Request is sent.
Examples

The following example demonstrates setting the "X-Requested-With" header on the request.
request34.SetHeader("X-Requested-With", "XMLHttpRequest");
See Also