Response
Namespace:
Saturn
Parent:
ControllerHelpers
This module wraps Giraffe responses (ie setting HTTP status codes) for easy chaining in the Saturn model.
All of the functions set the status code and halt further processing.
Values and Functions
Name
|
Description
|
continue(ctx)
Signature:
ctx:HttpContext -> HttpFuncResult
|
|
switchingProto(ctx)
Signature:
ctx:HttpContext -> HttpFuncResult
|
|
ok ctx res
Signature:
ctx:HttpContext -> res:'?42507 -> HttpFuncResult
|
|
created ctx res
Signature:
ctx:HttpContext -> res:'?42509 -> HttpFuncResult
|
|
accepted ctx res
Signature:
ctx:HttpContext -> res:'?42511 -> HttpFuncResult
|
|
badRequest ctx res
Signature:
ctx:HttpContext -> res:'?42513 -> HttpFuncResult
|
|
unauthorized ctx scheme realm res
Signature:
ctx:HttpContext -> scheme:string -> realm:string -> res:'?42515 -> HttpFuncResult
|
|
forbidden ctx res
Signature:
ctx:HttpContext -> res:'?42517 -> HttpFuncResult
|
|
notFound ctx res
Signature:
ctx:HttpContext -> res:'?42519 -> HttpFuncResult
|
|
methodNotAllowed ctx res
Signature:
ctx:HttpContext -> res:'?42521 -> HttpFuncResult
|
|
notAcceptable ctx res
Signature:
ctx:HttpContext -> res:'?42523 -> HttpFuncResult
|
|
conflict ctx res
Signature:
ctx:HttpContext -> res:'?42525 -> HttpFuncResult
|
|
gone ctx res
Signature:
ctx:HttpContext -> res:'?42527 -> HttpFuncResult
|
|
unuspportedMediaType ctx res
Signature:
ctx:HttpContext -> res:'?42529 -> HttpFuncResult
|
|
unprocessableEntity ctx res
Signature:
ctx:HttpContext -> res:'?42531 -> HttpFuncResult
|
|
preconditionRequired ctx res
Signature:
ctx:HttpContext -> res:'?42533 -> HttpFuncResult
|
|
tooManyRequests ctx res
Signature:
ctx:HttpContext -> res:'?42535 -> HttpFuncResult
|
|
internalError ctx res
Signature:
ctx:HttpContext -> res:'?42537 -> HttpFuncResult
|
|
notImplemented ctx res
Signature:
ctx:HttpContext -> res:'?42539 -> HttpFuncResult
|
|
badGateway ctx res
Signature:
ctx:HttpContext -> res:'?42541 -> HttpFuncResult
|
|
serviceUnavailable ctx res
Signature:
ctx:HttpContext -> res:'?42543 -> HttpFuncResult
|
|
gatewayTimeout ctx res
Signature:
ctx:HttpContext -> res:'?42545 -> HttpFuncResult
|
|