Class HttpHeader
Http Header object used by proxy
Inherited Members
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public class HttpHeaderConstructors
| 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 = 32Field Value
| Type | Description | 
|---|---|
| Int32 | 
Properties
| Improve this Doc View SourceName
Header Name.
Declaration
public string Name { get; set; }Property Value
| Type | Description | 
|---|---|
| String | 
Size
Declaration
public int Size { get; }Property Value
| Type | Description | 
|---|---|
| Int32 | 
Value
Header Value.
Declaration
public string Value { get; set; }Property Value
| Type | Description | 
|---|---|
| String | 
Methods
| Improve this Doc View SourceSizeOf(String, String)
Declaration
public static int SizeOf(string name, string value)Parameters
| Type | Name | Description | 
|---|---|---|
| String | name | |
| String | value | 
Returns
| Type | Description | 
|---|---|
| Int32 | 
ToString()
Returns header as a valid header string.
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| String |