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
| Edit this page 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
| Edit this page 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 |
|---|---|
| int |
Properties
| Edit this page 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 |
|---|---|
| int |
Value
Header Value.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceToString()
Returns header as a valid header string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |