Adds a new header containing the specified name and value.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public HTTPHeaderItem Add(
string sHeaderName,
string sValue
)
Public Function Add (
sHeaderName As String,
sValue As String
) As HTTPHeaderItem
public:
HTTPHeaderItem^ Add(
String^ sHeaderName,
String^ sValue
)
Parameters
- sHeaderName
- Type: SystemString
Name of the header to add. - sValue
- Type: SystemString
Value of the header.
Return Value
Type:
HTTPHeaderItemReturns the newly-created HTTPHeaderItem.
See Also