HTTPure.Response
- Package
- purescript-httpure
- Repository
- cprussin/purescript-httpure
#ResponseM Source
type ResponseM e = Aff (HTTPureEffects e) ResponseThe ResponseM type simply conveniently wraps up an HTTPure monad that
returns a response. This type is the return type of all router/route
methods.
#emptyResponse Source
emptyResponse :: forall e. Status -> ResponseM eThe same as response but without a body.
#emptyResponse' Source
emptyResponse' :: forall e. Status -> Headers -> ResponseM eThe same as emptyResponse but with headers.
#switchingProtocols Source
switchingProtocols :: forall e. ResponseM e101
#switchingProtocols' Source
switchingProtocols' :: forall e. Headers -> ResponseM e101 with headers
#processing Source
processing :: forall e. ResponseM e102
#processing' Source
processing' :: forall e. Headers -> ResponseM e102 with headers
#nonAuthoritativeInformation Source
nonAuthoritativeInformation :: forall e. Body -> ResponseM e203
#nonAuthoritativeInformation' Source
nonAuthoritativeInformation' :: forall e. Headers -> Body -> ResponseM e203 with headers
#noContent' Source
noContent' :: forall e. Headers -> ResponseM e204 with headers
#resetContent Source
resetContent :: forall e. ResponseM e205
#resetContent' Source
resetContent' :: forall e. Headers -> ResponseM e205 with headers
#partialContent Source
partialContent :: forall e. Body -> ResponseM e206
#multiStatus Source
multiStatus :: forall e. Body -> ResponseM e207
#alreadyReported Source
alreadyReported :: forall e. ResponseM e208
#alreadyReported' Source
alreadyReported' :: forall e. Headers -> ResponseM e208 with headers
#multipleChoices Source
multipleChoices :: forall e. Body -> ResponseM e300
#multipleChoices' Source
multipleChoices' :: forall e. Headers -> Body -> ResponseM e300 with headers
#movedPermanently Source
movedPermanently :: forall e. Body -> ResponseM e301
#movedPermanently' Source
movedPermanently' :: forall e. Headers -> Body -> ResponseM e301 with headers
#notModified Source
notModified :: forall e. ResponseM e304
#notModified' Source
notModified' :: forall e. Headers -> ResponseM e304 with headers
#temporaryRedirect Source
temporaryRedirect :: forall e. Body -> ResponseM e307
#temporaryRedirect' Source
temporaryRedirect' :: forall e. Headers -> Body -> ResponseM e307 with headers
#permanentRedirect Source
permanentRedirect :: forall e. Body -> ResponseM e308
#permanentRedirect' Source
permanentRedirect' :: forall e. Headers -> Body -> ResponseM e308 with headers
#badRequest Source
badRequest :: forall e. Body -> ResponseM e400
#unauthorized Source
unauthorized :: forall e. ResponseM e401
#unauthorized' Source
unauthorized' :: forall e. Headers -> ResponseM e401 with headers
#paymentRequired Source
paymentRequired :: forall e. ResponseM e402
#paymentRequired' Source
paymentRequired' :: forall e. Headers -> ResponseM e402 with headers
#forbidden' Source
forbidden' :: forall e. Headers -> ResponseM e403 with headers
#methodNotAllowed Source
methodNotAllowed :: forall e. ResponseM e405
#methodNotAllowed' Source
methodNotAllowed' :: forall e. Headers -> ResponseM e405 with headers
#notAcceptable Source
notAcceptable :: forall e. ResponseM e406
#notAcceptable' Source
notAcceptable' :: forall e. Headers -> ResponseM e406 with headers
#proxyAuthenticationRequired Source
proxyAuthenticationRequired :: forall e. ResponseM e407
#proxyAuthenticationRequired' Source
proxyAuthenticationRequired' :: forall e. Headers -> ResponseM e407 with headers
#requestTimeout Source
requestTimeout :: forall e. ResponseM e408
#requestTimeout' Source
requestTimeout' :: forall e. Headers -> ResponseM e408 with headers
#lengthRequired Source
lengthRequired :: forall e. ResponseM e411
#lengthRequired' Source
lengthRequired' :: forall e. Headers -> ResponseM e411 with headers
#preconditionFailed Source
preconditionFailed :: forall e. ResponseM e412
#preconditionFailed' Source
preconditionFailed' :: forall e. Headers -> ResponseM e412 with headers
#payloadTooLarge Source
payloadTooLarge :: forall e. ResponseM e413
#payloadTooLarge' Source
payloadTooLarge' :: forall e. Headers -> ResponseM e413 with headers
#uRITooLong Source
uRITooLong :: forall e. ResponseM e414
#uRITooLong' Source
uRITooLong' :: forall e. Headers -> ResponseM e414 with headers
#unsupportedMediaType Source
unsupportedMediaType :: forall e. ResponseM e415
#unsupportedMediaType' Source
unsupportedMediaType' :: forall e. Headers -> ResponseM e415 with headers
#rangeNotSatisfiable Source
rangeNotSatisfiable :: forall e. ResponseM e416
#rangeNotSatisfiable' Source
rangeNotSatisfiable' :: forall e. Headers -> ResponseM e416 with headers
#expectationFailed Source
expectationFailed :: forall e. ResponseM e417
#expectationFailed' Source
expectationFailed' :: forall e. Headers -> ResponseM e417 with headers
#imATeapot' Source
imATeapot' :: forall e. Headers -> ResponseM e418 with headers
#misdirectedRequest Source
misdirectedRequest :: forall e. ResponseM e421
#misdirectedRequest' Source
misdirectedRequest' :: forall e. Headers -> ResponseM e421 with headers
#unprocessableEntity Source
unprocessableEntity :: forall e. ResponseM e422
#unprocessableEntity' Source
unprocessableEntity' :: forall e. Headers -> ResponseM e422 with headers
#failedDependency Source
failedDependency :: forall e. ResponseM e424
#failedDependency' Source
failedDependency' :: forall e. Headers -> ResponseM e424 with headers
#upgradeRequired Source
upgradeRequired :: forall e. ResponseM e426
#upgradeRequired' Source
upgradeRequired' :: forall e. Headers -> ResponseM e426 with headers
#preconditionRequired Source
preconditionRequired :: forall e. ResponseM e428
#preconditionRequired' Source
preconditionRequired' :: forall e. Headers -> ResponseM e428 with headers
#tooManyRequests Source
tooManyRequests :: forall e. ResponseM e429
#tooManyRequests' Source
tooManyRequests' :: forall e. Headers -> ResponseM e429 with headers
#requestHeaderFieldsTooLarge Source
requestHeaderFieldsTooLarge :: forall e. ResponseM e431
#requestHeaderFieldsTooLarge' Source
requestHeaderFieldsTooLarge' :: forall e. Headers -> ResponseM e431 with headers
#internalServerError Source
internalServerError :: forall e. Body -> ResponseM e500
#internalServerError' Source
internalServerError' :: forall e. Headers -> Body -> ResponseM e500 with headers
#notImplemented Source
notImplemented :: forall e. ResponseM e501
#notImplemented' Source
notImplemented' :: forall e. Headers -> ResponseM e501 with headers
#badGateway Source
badGateway :: forall e. ResponseM e502
#badGateway' Source
badGateway' :: forall e. Headers -> ResponseM e502 with headers
#gatewayTimeout Source
gatewayTimeout :: forall e. ResponseM e504
#gatewayTimeout' Source
gatewayTimeout' :: forall e. Headers -> ResponseM e504 with headers
#hTTPVersionNotSupported Source
hTTPVersionNotSupported :: forall e. ResponseM e505
#hTTPVersionNotSupported' Source
hTTPVersionNotSupported' :: forall e. Headers -> ResponseM e505 with headers
#variantAlsoNegotiates Source
variantAlsoNegotiates :: forall e. ResponseM e506
#variantAlsoNegotiates' Source
variantAlsoNegotiates' :: forall e. Headers -> ResponseM e506 with headers
#insufficientStorage Source
insufficientStorage :: forall e. ResponseM e507
#insufficientStorage' Source
insufficientStorage' :: forall e. Headers -> ResponseM e507 with headers
#loopDetected Source
loopDetected :: forall e. ResponseM e508
#loopDetected' Source
loopDetected' :: forall e. Headers -> ResponseM e508 with headers
#notExtended Source
notExtended :: forall e. ResponseM e510
#notExtended' Source
notExtended' :: forall e. Headers -> ResponseM e510 with headers
#networkAuthenticationRequired Source
networkAuthenticationRequired :: forall e. ResponseM e511
#networkAuthenticationRequired' Source
networkAuthenticationRequired' :: forall e. Headers -> ResponseM e511 with headers