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.
setQueryStringPartialEscape :: [(ByteString, [EscapeItem])] -> Request -> Requesthttp-conduit Network.HTTP.Client.Conduit Set the query string to the given key/value pairs.
setRequestCheckStatus :: Request -> Requesthttp-conduit Network.HTTP.Client.Conduit Modify the request so that non-2XX status codes generate a runtime StatusCodeException, by using throwErrorStatusCodes
setRequestIgnoreStatus :: Request -> Requesthttp-conduit Network.HTTP.Client.Conduit Modify the request so that non-2XX status codes do not generate a runtime StatusCodeException.
setQueryString :: [(ByteString, Maybe ByteString)] -> Request -> Requesthttp-conduit Network.HTTP.Conduit Set the query string to the given key/value pairs. Since 0.3.6
setRequestBasicAuth :: ByteString -> ByteString -> Request -> Requesthttp-conduit Network.HTTP.Simple Set basic auth with the given username and password
setRequestBearerAuth :: ByteString -> Request -> Requesthttp-conduit Network.HTTP.Simple Set bearer auth with the given token
setRequestBody :: RequestBody -> Request -> Requesthttp-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.
setRequestBodyFile :: FilePath -> Request -> Requesthttp-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.
setRequestBodyJSON :: ToJSON a => a -> Request -> Requesthttp-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
setRequestBodyLBS :: ByteString -> Request -> Requesthttp-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.