Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setQueryStringPartialEscape :: [(ByteString, [EscapeItem])] -> Request -> Request

    http-conduit Network.HTTP.Client.Conduit

    Set the query string to the given key/value pairs.

  2. setRequestCheckStatus :: Request -> Request

    http-conduit Network.HTTP.Client.Conduit

    Modify the request so that non-2XX status codes generate a runtime StatusCodeException, by using throwErrorStatusCodes

  3. setRequestIgnoreStatus :: Request -> Request

    http-conduit Network.HTTP.Client.Conduit

    Modify the request so that non-2XX status codes do not generate a runtime StatusCodeException.

  4. setQueryString :: [(ByteString, Maybe ByteString)] -> Request -> Request

    http-conduit Network.HTTP.Conduit

    Set the query string to the given key/value pairs. Since 0.3.6

  5. setRequestBasicAuth :: ByteString -> ByteString -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set basic auth with the given username and password

  6. setRequestBearerAuth :: ByteString -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set bearer auth with the given token

  7. setRequestBody :: RequestBody -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the request body to the given RequestBody. You may want to consider using one of the convenience functions in the modules, e.g. requestBodyJSON. Note: This will not modify the request method. For that, please use requestMethod. You likely don't want the default of GET.

  8. setRequestBodyFile :: FilePath -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the request body as a file Note: This will not modify the request method. For that, please use requestMethod. You likely don't want the default of GET.

  9. setRequestBodyJSON :: ToJSON a => a -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the request body as a JSON value Note: This will not modify the request method. For that, please use requestMethod. You likely don't want the default of GET. This also sets the Content-Type to application/json; charset=utf-8 NOTE: Depends on the aeson cabal flag being enabled

  10. setRequestBodyLBS :: ByteString -> Request -> Request

    http-conduit Network.HTTP.Simple

    Set the request body as a lazy ByteString Note: This will not modify the request method. For that, please use requestMethod. You likely don't want the default of GET.

Page 174 of many | Previous | Next