Sets an HTTP response header for this CachedResponse, as a name/value pair.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
Parameters
- header
- Type: System String
The header name.
- value
- Type: System String
The header value.
Examples
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