Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
req Network.HTTP.Req This data type represents empty body of an HTTP request. This is the data type to use with HttpMethods that cannot have a body, as it's the only type for which ProvidesBody returns NoBody. Using of this body option does not set the Content-Type header.
-
req Network.HTTP.Req No documentation available.
-
req Network.HTTP.Req A monad that allows us to run req in any IO-enabled monad without having to define new instances.
-
req Network.HTTP.Req HTTP request body represented by a strict ByteString. Using of this body option does not set the Content-Type header.
ReqBodyBs :: ByteString -> ReqBodyBsreq Network.HTTP.Req No documentation available.
-
req Network.HTTP.Req This body option streams request body from a file. It is expected that the file size does not change during streaming. Using of this body option does not set the Content-Type header.
ReqBodyFile :: FilePath -> ReqBodyFilereq Network.HTTP.Req No documentation available.
-
req Network.HTTP.Req This body option allows us to use a JSON object as the request body—probably the most popular format right now. Just wrap a data type that is an instance of ToJSON type class and you are done: it will be converted to JSON and inserted as request body. This body option sets the Content-Type header to "application/json; charset=utf-8" value.
ReqBodyJson :: a -> ReqBodyJson areq Network.HTTP.Req No documentation available.
-
req Network.HTTP.Req HTTP request body represented by a lazy ByteString. Using of this body option does not set the Content-Type header.