Determines whether this Request contains a particular 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 this Request contains the specified header; otherwise, false.Examples
if (request.containsHeader("Content-Type")) { WriteMessage(string.format("Content-Type=%s", request.GetHeaderValue("Content-Type"))); }
See Also