HttpResponse

Undocumented in source.

Constructors

this
this(HttpContext ctx)
Undocumented in source.

Members

Functions

code
HttpResponse code(HttpStatusCode statusCode)
Undocumented in source. Be warned that the author may not have intended to support it.
code
ushort code()
Undocumented in source. Be warned that the author may not have intended to support it.
cookie
HttpResponse cookie(string name, string value, string path, string domain, string expires, long maxAge, bool secure, bool httpOnly)
Undocumented in source. Be warned that the author may not have intended to support it.
cookie
HttpResponse cookie(Cookie cookie)
Undocumented in source. Be warned that the author may not have intended to support it.
cookie
Cookie cookie(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
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.
headerSent
bool headerSent()
Undocumented in source. Be warned that the author may not have intended to support it.
headerToString
string headerToString()
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.
location
HttpResponse location(HttpStatusCode statusCode, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
location
HttpResponse location(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
redirect
HttpResponse redirect(HttpStatusCode statusCode, string path)
Undocumented in source. Be warned that the author may not have intended to support it.
redirect
HttpResponse redirect(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(string body)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(JSONValue json)
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send()
Undocumented in source. Be warned that the author may not have intended to support it.
sendFile
HttpResponse sendFile(string path, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta