Module
Bucketchain.SimpleAPI.Class
- Package
- purescript-bucketchain-simple-api
- Repository
- Bucketchain/purescript-bucketchain-simple-api
#Servable Source
class Servable ex server where
A typeclass what type is servable.
If you return Nothing
in implementation, SimpleAPI proceeds to the next middleware.
Members
Instances
(Respondable a) => Servable ex (Proc ex a)
(Transformable ex f, Respondable a) => Servable ex (FreeT f (Proc ex) a)
(ReadForeign a, Servable ex server) => Servable ex (Body a -> server)
(Authenticatable ex a, Servable ex server) => Servable ex (Auth a -> server)
(Servable ex server) => Servable ex (Batch server)
(RowToList r l, ServableList ex l r) => Servable ex (Record r)
#ServableList Source
class ServableList ex (l :: RowList Type) (r :: Row Type) | l -> r where
This is for internal. Do not use it.
Members
Instances
ServableList ex Nil ()
(IsSymbol route, Servable ex server, ServableList ex taill tailr, Cons route server tailr r) => ServableList ex (Cons route server taill) r
- 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