Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
addDefaultHeaders :: [Header] -> [Header] Source #
defaultHeaders :: [Header] Source #
newtype HttpException Source #
Instances
ToJSON HttpException Source # | |
Defined in Hasura.HTTP toJSON :: HttpException -> Value Source # toEncoding :: HttpException -> Encoding Source # toJSONList :: [HttpException] -> Value Source # toEncodingList :: [HttpException] -> Encoding Source # | |
Show HttpException Source # | |
Defined in Hasura.HTTP showsPrec :: Int -> HttpException -> ShowS # show :: HttpException -> String # showList :: [HttpException] -> ShowS # |
newtype ShowHeadersAndEnvVarInfo Source #
Instances
Show ShowHeadersAndEnvVarInfo Source # | |
Defined in Hasura.HTTP showsPrec :: Int -> ShowHeadersAndEnvVarInfo -> ShowS # show :: ShowHeadersAndEnvVarInfo -> String # showList :: [ShowHeadersAndEnvVarInfo] -> ShowS # | |
Eq ShowHeadersAndEnvVarInfo Source # | |
Defined in Hasura.HTTP |
serializeHTTPExceptionWithErrorMessage :: ShowHeadersAndEnvVarInfo -> HttpException -> Text Source #
encodeHTTPRequestJSON :: Request -> Value Source #
newtype ShowErrorInfo Source #
Instances
Show ShowErrorInfo Source # | |
Defined in Hasura.HTTP showsPrec :: Int -> ShowErrorInfo -> ShowS # show :: ShowErrorInfo -> String # showList :: [ShowErrorInfo] -> ShowS # | |
Eq ShowErrorInfo Source # | |
Defined in Hasura.HTTP (==) :: ShowErrorInfo -> ShowErrorInfo -> Bool # (/=) :: ShowErrorInfo -> ShowErrorInfo -> Bool # |
data HttpResponse a Source #
HttpResponse | |
|
Instances
addHttpResponseHeaders :: ResponseHeaders -> HttpResponse a -> HttpResponse a Source #