HttpVersionIds

HTTP version identifier string constants and enumerator value association

Members

Static functions

opBinaryRight
HttpVersion* opBinaryRight(cstring id)

Obtains the HTTP version enumerator value by identifier string.

opIndex
HttpVersion opIndex(cstring id)

Obtains the HTTP version enumerator value by identifier string. Does not throw an exception.

opIndex
istring opIndex(HttpVersion ver)

Obtains the HTTP identifier string by version enumerator value. ver must be a HttpVersion value different from HttpVersion.Undefined.

validSyntax
bool validSyntax(cstring id)

Checks whether id has a valid syntax for a HTTP version identifier string:

Variables

list
enum istring[HttpVersion.max + 1] list;

HTTP version identifier string constants

Meta