SessionHTTPMethodIs Method |
Returns TRUE if the Session's HTTP Method is available and matches the target method.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool HTTPMethodIs(
string sTestFor
)
Public Function HTTPMethodIs (
sTestFor As String
) As Boolean
public:
bool HTTPMethodIs(
String^ sTestFor
)
Parameters
- sTestFor
- Type: SystemString
The target HTTP Method being compared.
Return Value
Type:
Booleantrue, if the method is specified and matches sTestFor (case-insensitive); otherwise false.
See Also