HeaderField

The header field, which mainly used to represent HTTP headers.

Members

Functions

free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(HeaderField other)
Undocumented in source. Be warned that the author may not have intended to support it.
validateName
bool validateName()

Returns true if HTTP header field name |name| of length |len| is valid according to http://tools.ietf.org/html/rfc7230#section-3.2

validateRequestHeader
bool validateRequestHeader(Stream stream, bool trailer)

Validate a request header

validateResponseHeader
bool validateResponseHeader(Stream stream, int trailer)
Undocumented in source. Be warned that the author may not have intended to support it.
validateValue
bool validateValue()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

NOGC
enum NOGC;
Undocumented in source.

Variables

flag
HeaderFlag flag;
Undocumented in source.
name
immutable(char)[] name;
Undocumented in source.
value
immutable(char)[] value;
Undocumented in source.

Meta