HttpResponse

Undocumented in source.

Constructors

this
this(HttpContext ctx)
Undocumented in source.

Members

Aliases

headerList
alias headerList = string[string]
Undocumented in source.

Functions

ToBuffer
string ToBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
body
HttpResponse body(string body)
Undocumented in source. Be warned that the author may not have intended to support it.
header
HttpResponse header(string header, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
json
HttpResponse json(JSONValue json)
Undocumented in source. Be warned that the author may not have intended to support it.
status
HttpResponse status(HttpStatusCode status_code)
Undocumented in source. Be warned that the author may not have intended to support it.
status
ushort status()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_body
string _body;
Undocumented in source.
_buffer
string _buffer;
Undocumented in source.
_headers
headerList _headers;
Undocumented in source.
_httpContext
HttpContext _httpContext;
Undocumented in source.
_status
ushort _status;
Undocumented in source.

Meta