Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. RequestBodyStreamChunked :: GivesPopper () -> RequestBody

    http-client Network.HTTP.Client.Internal

    No documentation available.

  2. WrongRequestBodyStreamSize :: Word64 -> Word64 -> HttpExceptionContent

    http-client Network.HTTP.Client.Internal

    The request body provided did not match the expected size. Provides the expected and actual size.

  3. defaultRequest :: Request

    http-client Network.HTTP.Client.Internal

    A default request value, a GET request of localhost/:80, with an empty request body. Note that the default checkResponse does nothing.

  4. getModifiedRequestManager :: Manager -> Request -> IO (Manager, Request)

    http-client Network.HTTP.Client.Internal

    The used Manager can be overridden (by requestManagerOverride) and the used Request can be modified (through managerModifyRequest). This function allows to retrieve the possibly overridden Manager and the possibly modified Request. (In case the Manager is overridden by requestManagerOverride, the Request is being modified by managerModifyRequest of the new Manager, not the old one.)

  5. getOriginalRequest :: Response a -> Request

    http-client Network.HTTP.Client.Internal

    Retrieve the orignal Request from a Response Note that the requestBody is not available and always set to empty.

  6. getRedirectedRequest :: Request -> Request -> ResponseHeaders -> CookieJar -> Int -> Maybe Request

    http-client Network.HTTP.Client.Internal

    If a request is a redirection (status code 3xx) this function will create a new request from the old request, the server headers returned with the redirection, and the redirection code itself. This function returns Nothing if the code is not a 3xx, there is no location header included, or if the redirected response couldn't be parsed with parseRequest. If a user of this library wants to know the url chain that results from a specific request, that user has to re-implement the redirect-following logic themselves. An example of that might look like this:

    myHttp req man = do
    (res, redirectRequests) <- (`runStateT` []) $
    'httpRedirect'
    9000
    (\req' -> do
    res <- http req'{redirectCount=0} man
    modify (\rqs -> req' : rqs)
    return (res, getRedirectedRequest req req' (responseHeaders res) (responseCookieJar res) (W.statusCode (responseStatus res))
    )
    'lift'
    req
    applyCheckStatus (checkStatus req) res
    return redirectRequests
    

  7. insertCookiesIntoRequest :: Request -> CookieJar -> UTCTime -> (Request, CookieJar)

    http-client Network.HTTP.Client.Internal

    This applies the computeCookieString to a given Request

  8. mModifyRequest :: Manager -> Request -> IO Request

    http-client Network.HTTP.Client.Internal

    No documentation available.

  9. managerModifyRequest :: ManagerSettings -> Request -> IO Request

    http-client Network.HTTP.Client.Internal

    Perform the given modification to a Request before performing it. This function may be called more than once during request processing. see https://github.com/snoyberg/http-client/issues/350 Default: no modification Since 0.4.4

  10. managerModifyRequest :: ManagerSettings -> Request -> IO Request

    http-client Network.HTTP.Client.Internal

    Perform the given modification to a Request before performing it. This function may be called more than once during request processing. see https://github.com/snoyberg/http-client/issues/350 Default: no modification Since 0.4.4

Page 162 of many | Previous | Next