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.

  1. data NoReqBody

    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.

  2. NoReqBody :: NoReqBody

    req Network.HTTP.Req

    No documentation available.

  3. data Req a

    req Network.HTTP.Req

    A monad that allows us to run req in any IO-enabled monad without having to define new instances.

  4. newtype ReqBodyBs

    req Network.HTTP.Req

    HTTP request body represented by a strict ByteString. Using of this body option does not set the Content-Type header.

  5. ReqBodyBs :: ByteString -> ReqBodyBs

    req Network.HTTP.Req

    No documentation available.

  6. newtype ReqBodyFile

    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.

  7. ReqBodyFile :: FilePath -> ReqBodyFile

    req Network.HTTP.Req

    No documentation available.

  8. newtype ReqBodyJson a

    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.

  9. ReqBodyJson :: a -> ReqBodyJson a

    req Network.HTTP.Req

    No documentation available.

  10. newtype ReqBodyLbs

    req Network.HTTP.Req

    HTTP request body represented by a lazy ByteString. Using of this body option does not set the Content-Type header.

Page 314 of many | Previous | Next