HTTPHeadersRenameHeaderItems Method |
Renames all headers in the header collection which have the specified name.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public bool RenameHeaderItems(
string sOldHeaderName,
string sNewHeaderName
)
Public Function RenameHeaderItems (
sOldHeaderName As String,
sNewHeaderName As String
) As Boolean
public:
bool RenameHeaderItems(
String^ sOldHeaderName,
String^ sNewHeaderName
)
Parameters
- sOldHeaderName
- Type: SystemString
The name of the header to rename. (case insensitive) - sNewHeaderName
- Type: SystemString
The new name for the header.
Return Value
Type:
BooleanTrue if one or more replacements were made.
See Also