Class HTTPHeaderItem
Represents a single HTTP header
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class HTTPHeaderItem : 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.String
sName
Header name |
System.String
sValue
Header value |
Fields
Name
The name of the HTTP header
Declaration
[CodeDescription("String name of the HTTP header.")]
public string Name
Field Value
System.String
|
Value
The value of the HTTP header
Declaration
[CodeDescription("String value of the HTTP header.")]
public string Value
Field Value
System.String
|
Methods
Clone()
Clones a single HTTP header and returns the clone cast to an object
Declaration
public object Clone()
Returns
System.Object
HTTPHeader Name: Value pair, cast to an object |
ToString()
Return a string of the form "NAME: VALUE"
Declaration
public override string ToString()
Returns
System.String
"NAME: VALUE" Header string |