Coherent UI for .NET  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.HTTPHeader Class Reference

Encapsulates a HTTP header field with its content. More...

Inherits IDisposable.

Public Types

enum  FieldType {
  FieldType.Accept,
  FieldType.AcceptCharset,
  FieldType.AcceptEncoding,
  FieldType.AcceptLanguage,
  FieldType.AcceptRanges,
  FieldType.Authorization,
  FieldType.CacheControl,
  FieldType.Connection,
  FieldType.ContentLength,
  FieldType.ContentRange,
  FieldType.ContentType,
  FieldType.Cookie,
  FieldType.Host,
  FieldType.IfModifiedSince,
  FieldType.IfNoneMatch,
  FieldType.IfRange,
  FieldType.Origin,
  FieldType.Pragma,
  FieldType.ProxyAuthorization,
  FieldType.ProxyConnection,
  FieldType.Range,
  FieldType.Referer,
  FieldType.UserAgent,
  FieldType.TransferEncoding
}
 Enumeration that defines various HTTP header types. More...
 

Static Public Member Functions

static string GetHeaderField (HTTPHeader.FieldType type)
 Gets a string representation of the requested header field type. More...
 

Properties

string Field [get, set]
 The name (key) of the HTTP header field. More...
 
string Content [get, set]
 The value of the HTTP header field. More...
 

Detailed Description

Encapsulates a HTTP header field with its content.

Member Enumeration Documentation

Enumeration that defines various HTTP header types.

Enumerator
Accept 

Key for the Accept header field.

AcceptCharset 

Key for the AcceptCharset header field.

AcceptEncoding 

Key for the AcceptEncoding header field.

AcceptLanguage 

Key for the AcceptLanguage header field.

AcceptRanges 

Key for the AcceptRanges header field.

Authorization 

Key for the Authorization header field.

CacheControl 

Key for the CacheControl header field.

Connection 

Key for the Connection header field.

ContentLength 

Key for the ContentLength header field.

ContentRange 

Key for the ContentRange header field.

ContentType 

Key for the ContentType header field.

Cookie 

Key for the Cookie header field.

Host 

Key for the Host header field.

IfModifiedSince 

Key for the IfModifiedSince header field.

IfNoneMatch 

Key for the IfNoneMatch header field.

IfRange 

Key for the IfRange header field.

Origin 

Key for the Origin header field.

Pragma 

Key for the Pragma header field.

ProxyAuthorization 

Key for the ProxyAuthorization header field.

ProxyConnection 

Key for the ProxyConnection header field.

Range 

Key for the Range header field.

Referer 

Key for the Referer header field.

UserAgent 

Key for the UserAgent header field.

TransferEncoding 

Key for the TransferEncoding header field.

Member Function Documentation

static string Coherent.UI.HTTPHeader.GetHeaderField ( HTTPHeader.FieldType  type)
inlinestatic

Gets a string representation of the requested header field type.

Parameters
typethe HTTP header field type
Returns
a string representation for the requested header field type

Property Documentation

string Coherent.UI.HTTPHeader.Content
getset

The value of the HTTP header field.

string Coherent.UI.HTTPHeader.Field
getset

The name (key) of the HTTP header field.