Class HttpHeader
Http Header object used by proxy
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public class HttpHeader
Constructors
| Improve this Doc View SourceHttpHeader(String, String)
Initialize a new instance.
Declaration
public HttpHeader(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
String | name | Header name. |
String | value | Header value. |
Fields
| Improve this Doc View SourceHttpHeaderOverhead
HPACK: Header Compression for HTTP/2 Section 4.1. Calculating Table Size The additional 32 octets account for an estimated overhead associated with an entry.
Declaration
public const int HttpHeaderOverhead = 32
Field Value
Type | Description |
---|---|
Int32 |
Properties
| Improve this Doc View SourceEncoding
Declaration
public static Encoding Encoding { get; }
Property Value
Type | Description |
---|---|
Encoding |
Name
Header Name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Size
Declaration
public int Size { get; }
Property Value
Type | Description |
---|---|
Int32 |
Value
Header Value.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceToString()
Returns header as a valid header string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |