Module
Bucketchain.SimpleAPI
- Package
- purescript-bucketchain-simple-api
- Repository
- Bucketchain/purescript-bucketchain-simple-api
#withSimpleAPI Source
withSimpleAPI :: forall ex server. Servable ex server => ex -> server -> Middleware
SimpleAPI middleware.
ex
is any extra data. It is typically global context such as db connection and can be used in Proc
.
server
is a Servable
instance.
- Modules
- Bucketchain.
SimpleAPI - Bucketchain.
SimpleAPI. Auth - Bucketchain.
SimpleAPI. Auth. Class - Bucketchain.
SimpleAPI. Batch - Bucketchain.
SimpleAPI. Body - Bucketchain.
SimpleAPI. Class - Bucketchain.
SimpleAPI. FreeT. Class - Bucketchain.
SimpleAPI. JSON - Bucketchain.
SimpleAPI. Proc - Bucketchain.
SimpleAPI. RawData - Bucketchain.
SimpleAPI. Response - Bucketchain.
SimpleAPI. Response. Class