Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
hdrsToText :: [Header] -> [(Text, Text)] Source #
wreqOptions :: Manager -> [Header] -> Options Source #
addDefaultHeaders :: [Header] -> [Header] Source #
isDefaultHeader :: Header -> Bool Source #
defaultHeaders :: [Header] Source #
newtype HttpException Source #
HttpException | |
|
Instances
Show HttpException Source # | |
Defined in Hasura.HTTP showsPrec :: Int -> HttpException -> ShowS # show :: HttpException -> String # showList :: [HttpException] -> ShowS # | |
ToJSON HttpException Source # | |
Defined in Hasura.HTTP toJSON :: HttpException -> Value toEncoding :: HttpException -> Encoding toJSONList :: [HttpException] -> Value toEncodingList :: [HttpException] -> Encoding |
serializeHTTPExceptionMessage :: HttpException -> Text Source #
serializeHTTPExceptionMessageForDebugging :: HttpException -> Text Source #
encodeHTTPRequestJSON :: Request -> Value Source #
data HttpResponse a Source #
HttpResponse | |
|
Instances
addHttpResponseHeaders :: ResponseHeaders -> HttpResponse a -> HttpResponse a Source #
serializeServantClientErrorMessage :: ClientError -> Text Source #
serializeServantClientErrorMessageForDebugging :: ClientError -> Text Source #
serializeExceptionForDebugging :: Exception e => e -> Text Source #