CachedResponse SetHeader Method (String)C# API
Sets an HTTP response header for this CachedResponse, using the contents of the specified string.

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

public virtual void SetHeader(
	string header
)

Parameters

header
Type: System String
The header name and value.
Examples

The following example demonstrates setting the "Expires" response header
CachedResponse cachedResponse = new CachedResponse("http://myDomain/weather/images/symbols/57x57/3.gif");
// Set the Expires response header
cachedResponse.SetHeader("Expires: Fri, 22 Aug 2008 16:23:24 GMT");
See Also