Context
Descriptive full API of a Context.
Properties
data : Object { String: Any }
params : Object { String: String }
token: String
user: Object { String: Any }
session: Object { String: Any }
files: Array<File>
args: Object { String : Any }
criteria: Criteria
Methods
.error(code, message, ...args) -> Promise (rejected)
.ok(resource) -> resource
.created(resource) -> resource
.partial(resource) -> resource
.redirect(code=302, url) -> void
.stream(path | buffer) -> resource
.noContent(resource) -> resource
Last updated