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.
setRequestBodySource :: Int64 -> ConduitM () ByteString IO () -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the request body as a Source Note: This will not modify the request method. For that, please use requestMethod. You likely don't want the default of GET.
setRequestBodyURLEncoded :: [(ByteString, ByteString)] -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the request body as URL encoded data Note: This will change the request method to POST and set the content-type to application/x-www-form-urlencoded
setRequestCheckStatus :: Request -> Requesthttp-conduit Network.HTTP.Simple Modify the request so that non-2XX status codes generate a runtime StatusCodeException, by using throwErrorStatusCodes
setRequestHeader :: HeaderName -> [ByteString] -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the given request header to the given list of values. Removes any previously set header values with the same name.
setRequestHeaders :: RequestHeaders -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the request headers, wiping out all previously set headers. This means if you use setRequestHeaders to set some headers and also use one of the other setters that modifies the content-type header (such as setRequestBodyJSON), be sure that setRequestHeaders is evaluated first.
setRequestHost :: ByteString -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the destination host of the request
setRequestIgnoreStatus :: Request -> Requesthttp-conduit Network.HTTP.Simple Modify the request so that non-2XX status codes do not generate a runtime StatusCodeException.
setRequestManager :: Manager -> Request -> Requesthttp-conduit Network.HTTP.Simple Instead of using the default global Manager, use the supplied Manager.
setRequestMethod :: ByteString -> Request -> Requesthttp-conduit Network.HTTP.Simple Set the request method
setRequestPath :: ByteString -> Request -> Requesthttp-conduit Network.HTTP.Simple Lens for the requested path info of the request