Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data JsonResponse' a
- jsonResponse' :: Proxy (JsonResponse' a)
- type ChatWorkResponse a = JsonResponse' (Either ChatWorkErrors a)
- class ToReqParam a where
Documentation
data JsonResponse' a Source #
FromJSON a => HttpResponse (JsonResponse' a) Source # | |
type HttpResponseBody (JsonResponse' a) Source # | |
jsonResponse' :: Proxy (JsonResponse' a) Source #
type synonym of Response Json
type ChatWorkResponse a = JsonResponse' (Either ChatWorkErrors a) Source #
Wrapper type synonym of JsonResponse
and ChatWorkErrors
Helper type class for constructing Request paramater
class ToReqParam a where Source #
Helper Type Class of QueryParam
use to construct request parameter from param type, e.g. CreateRoomParams
toReqParam :: (QueryParam param, Monoid param) => Text -> a -> param Source #
ToReqParam Int Source # | |
ToReqParam Text Source # | |
ToReqParam TaskStatus Source # | |
ToReqParam IconPreset Source # | |
Show a => ToReqParam [a] Source # | |
ToReqParam a => ToReqParam (Maybe a) Source # | |