Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. rspHeaders :: Response a -> [Header]

    HTTP Network.HTTP.Base

    No documentation available.

  2. cookiesToHeader :: [Cookie] -> Header

    HTTP Network.HTTP.Cookie

    cookieToHeaders ck serialises Cookies to an HTTP request header.

  3. processCookieHeaders :: String -> [Header] -> ([String], [Cookie])

    HTTP Network.HTTP.Cookie

    processCookieHeaders dom hdrs
    

  4. class HasHeaders x

    HTTP Network.HTTP.Headers

    HasHeaders is a type class for types containing HTTP headers, allowing you to write overloaded header manipulation functions for both Request and Response data types, for instance.

  5. findHeader :: HasHeaders a => HeaderName -> a -> Maybe String

    HTTP Network.HTTP.Headers

    findHeader hdrNm x looks up hdrNm in x, returning the first header that matches, if any.

  6. getHeaders :: HasHeaders x => x -> [Header]

    HTTP Network.HTTP.Headers

    No documentation available.

  7. insertHeader :: HasHeaders a => HeaderSetter a

    HTTP Network.HTTP.Headers

    insertHeader hdr val x inserts a header with the given header name and value. Does not check for existing headers with same name, allowing duplicates to be introduce (use replaceHeader if you want to avoid this.)

  8. insertHeaderIfMissing :: HasHeaders a => HeaderSetter a

    HTTP Network.HTTP.Headers

    insertHeaderIfMissing hdr val x adds the new header only if no previous header with name hdr exists in x.

  9. insertHeaders :: HasHeaders a => [Header] -> a -> a

    HTTP Network.HTTP.Headers

    insertHeaders hdrs x appends multiple headers to x's existing set.

  10. lookupHeader :: HeaderName -> [Header] -> Maybe String

    HTTP Network.HTTP.Headers

    lookupHeader hdr hdrs locates the first header matching hdr in the list hdrs.

Page 175 of many | Previous | Next