HTTPHeadersExistsAndContains Method |
Determines if the Headers collection contains one or more headers of the specified name, and
sHeaderValue is part of one of those Headers' value.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool ExistsAndContains(
string sHeaderName,
string sHeaderValue
)
Public Function ExistsAndContains (
sHeaderName As String,
sHeaderValue As String
) As Boolean
public:
bool ExistsAndContains(
String^ sHeaderName,
String^ sHeaderValue
)
Parameters
- sHeaderName
- Type: SystemString
The name of the header to check. (case insensitive) - sHeaderValue
- Type: SystemString
The partial header value. (case insensitive)
Return Value
Type:
BooleanTrue if the header is found and the value case-insensitively contains the parameter
See Also