HttpVersion

Undocumented in source.

Constructors

this
this(string s, int ver)
Undocumented in source.

Members

Functions

asString
string asString()
Undocumented in source. Be warned that the author may not have intended to support it.
getVersion
int getVersion()
Undocumented in source. Be warned that the author may not have intended to support it.
isSame
bool isSame(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(HttpVersion h)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(HttpVersion h)
Undocumented in source. Be warned that the author may not have intended to support it.
toBytes
byte[] toBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin ValuesMemberTempate!(HttpVersion)
Undocumented in source.

Static functions

fromString
HttpVersion fromString(string ver)

Case insensitive fromString() conversion

fromVersion
HttpVersion fromVersion(int ver)
Undocumented in source. Be warned that the author may not have intended to support it.
lookAheadGet
HttpVersion lookAheadGet(byte[] bytes, int position, int limit)

Optimized lookup to find a HTTP Version and whitespace in a byte array.

lookAheadGet
HttpVersion lookAheadGet(ByteBuffer buffer)

Optimised lookup to find a HTTP Version and trailing white space in a byte array.

Variables

HTTP_0_9
enum HttpVersion HTTP_0_9;
Undocumented in source.
HTTP_1_0
enum HttpVersion HTTP_1_0;
Undocumented in source.
HTTP_1_1
enum HttpVersion HTTP_1_1;
Undocumented in source.
HTTP_2
enum HttpVersion HTTP_2;
Undocumented in source.
Null
enum HttpVersion Null;
Undocumented in source.

Meta