Class HTTPHeaderItem
Represents a single HTTP header
Inheritance
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class HTTPHeaderItem : Object, ICloneable
Constructors
HTTPHeaderItem(String, String)
Creates a new HTTP Header item. WARNING: Doesn't do any trimming or validation on the name.
Declaration
public HTTPHeaderItem(string sName, string sValue)
Parameters
System. Header name |
System. Header value |
HTTPHeaderItem(String, String, Boolean)
Creates a new HTTP Header item. WARNING: Doesn't do any trimming or validation on the name.
Declaration
public HTTPHeaderItem(string sName, string sValue, bool bSensitive)
Parameters
System. Header name |
System. Header value |
System. HTTP2 specific - does the header contain sensitive information |
Fields
Name
The name of the HTTP header
Declaration
[CodeDescription("String name of the HTTP header.")]
public string Name
Field Value
System.
|
Value
The value of the HTTP header
Declaration
[CodeDescription("String value of the HTTP header.")]
public string Value
Field Value
System.
|
Properties
Sensitive
HTTP2 specific - whether the header contains sensitive information
Declaration
public bool Sensitive { get; set; }
Property Value
System.
|
Methods
Clone()
Clones a single HTTP header and returns the clone cast to an object
Declaration
public object Clone()
Returns
System. HTTPHeader Name: Value pair, cast to an object |
ToString()
Return a string of the form "NAME: VALUE"
Declaration
public override string ToString()
Returns
System. "NAME: VALUE" Header string |