Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static class: RT.Servers.HttpEnumsParser

Summary

Implements parse routines for the HttpEnums. These routines are preferred to Enum.Parse(Type, string) because no reflection is involved.

Static methods

HttpConnection
ParseHttpConnection(string value)
Parses the Connection header. Throws an exception if the value is not valid. As long as exactly one of the valid values is contained in a comma-separated version returns the value and ignores all other values.
HttpContentEncoding?Parses the Content-Encoding header. Returns null if the value is not valid.