atlantis · Routing
class Controller
since 0.1.0-alpha.1linux
- bases
IController
Methods
created
created(string location, JsonValue v) -> HttpResponseheader
header(Http::Context ctx, string name) -> string | NonejsonBody
jsonBody(Http::Context ctx) -> JsonValuenoContent
noContent() -> HttpResponsenotFound
notFound(string message) -> HttpResponseok
ok(JsonValue v) -> HttpResponseokText
okText(string body) -> HttpResponsepathInt
pathInt(Http::Context ctx, string name) -> intpathStr
pathStr(Http::Context ctx, string name) -> stringqueryInt
queryInt(Http::Context ctx, string name) -> int | NonequeryStr
queryStr(Http::Context ctx, string name) -> string | Noneredirect
redirect(string to) -> HttpResponse