SessionutilReplaceOnceInResponse Method |
Perform a one-time string replacement on the response body. Adjust the Content-Length header if needed.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool utilReplaceOnceInResponse(
string sSearchFor,
string sReplaceWith,
bool bCaseSensitive
)
Public Function utilReplaceOnceInResponse (
sSearchFor As String,
sReplaceWith As String,
bCaseSensitive As Boolean
) As Boolean
public:
bool utilReplaceOnceInResponse(
String^ sSearchFor,
String^ sReplaceWith,
bool bCaseSensitive
)
Parameters
- sSearchFor
- Type: SystemString
String to find (case-sensitive) - sReplaceWith
- Type: SystemString
String to use to replace - bCaseSensitive
- Type: SystemBoolean
TRUE for Case-Sensitive
Return Value
Type:
BooleanTRUE if a replacement occurred
See Also