Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getHttpResponse' :: (HttpResponse a, MonadHttp m) => Proxy a -> Request -> Manager -> m a
- fixEmptyStringManager :: IO Manager
- fixEmptyString :: Response BodyReader -> IO (Response BodyReader)
- data DELETE2 = DELETE2
- strLength :: String -> Int
Custamize Managaer
getHttpResponse' :: (HttpResponse a, MonadHttp m) => Proxy a -> Request -> Manager -> m a Source #
Helper function that use custamized Manager
fixEmptyString :: Response BodyReader -> IO (Response BodyReader) Source #
if response is no contents, replace "[]". aeson return parse error when response is no content response
DELETE HTTP method with paramater
if want to use Delete HTTP methos with request param, use this type. ref : https://hackage.haskell.org/package/req-0.3.0/docs/Network-HTTP-Req.html#t:DELETE
HttpMethod DELETE2 Source # | |
type AllowsBody DELETE2 Source # | |