Determines whether this CachedResponse contains the specified HTTP header.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
Parameters
- header
- Type: System String
The HTTP header to check for.
Return Value
true if the header was found; otherwise, false.Examples
if (cachedResponse.ContainsHeader("Expires")) { WriteMessage(string.Format("Expires={0}", cachedResponse.GetHeaderValue("Expires"))); }
See Also