Module
Payload.Server
- Package
- purescript-payload
- Repository
- hoodunit/purescript-payload
#startGuarded Source
startGuarded :: forall guards handlers guardsSpec routesSpec. Routable routesSpec guardsSpec handlers guards => Options -> Spec { guards :: guardsSpec, routes :: routesSpec } -> { guards :: guards, handlers :: handlers } -> Aff (Either String Server)
Start server with given spec, handlers, and guards.
#startGuarded_ Source
startGuarded_ :: forall guards handlers guardsSpec routesSpec. Routable routesSpec guardsSpec handlers guards => Spec { guards :: guardsSpec, routes :: routesSpec } -> { guards :: guards, handlers :: handlers } -> Aff (Either String Server)
Start server with default options and given spec, handlers, and guards.
- Modules
- Payload.
Client - Payload.
Client. ClientApi - Payload.
Client. DecodeResponse - Payload.
Client. EncodeBody - Payload.
Client. EncodeParam - Payload.
Client. Internal. Query - Payload.
Client. Internal. Url - Payload.
Client. Options - Payload.
Client. QueryParams - Payload.
Client. Queryable - Payload.
Headers - Payload.
Internal. QueryParsing - Payload.
Internal. Route - Payload.
Internal. UrlParsing - Payload.
Internal. Utils - Payload.
ResponseTypes - Payload.
Server - Payload.
Server. ContentType - Payload.
Server. Cookies - Payload.
Server. DecodeBody - Payload.
Server. Guards - Payload.
Server. Handleable - Payload.
Server. Handlers - Payload.
Server. Internal. GuardParsing - Payload.
Server. Internal. MimeTypes - Payload.
Server. Internal. OmitEmpty - Payload.
Server. Internal. Query - Payload.
Server. Internal. Querystring. Qs - Payload.
Server. Internal. Request - Payload.
Server. Internal. ServerResponse - Payload.
Server. Internal. Trie - Payload.
Server. Internal. Url - Payload.
Server. Internal. UrlString - Payload.
Server. Params - Payload.
Server. Path - Payload.
Server. QueryParams - Payload.
Server. Response - Payload.
Server. Routable - Payload.
Server. Status - Payload.
Spec - Payload.
TypeErrors