Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. header :: HeaderName -> Lens' Options [ByteString]

    wreq Network.Wreq.Lens

    A lens onto all headers with the given name (there can legitimately be zero or more). Example:

    let opts = defaults & header "Accept" .~ ["*/*"]
    getWith opts "http://httpbin.org/get"
    
    

  2. headers :: Lens' Options [Header]

    wreq Network.Wreq.Lens

    A lens onto all headers (there can legitimately be zero or more). In this example, we print all the headers sent by default with every request.

    print (defaults ^. headers)
    
    

  3. headWith :: Options -> Session -> String -> IO (Response ())

    wreq Network.Wreq.Session

    Session-specific version of headWith.

  4. head_ :: Session -> String -> IO (Response ())

    wreq Network.Wreq.Session

    Session-specific version of head_.

  5. headers :: Options -> [Header]

    wreq Network.Wreq.Types

    Additional headers to send with each request.

    let opts = defaults { headers = [("Accept", "*/*")] }
    getWith opts "http://httpbin.org/get"
    
    

  6. header :: forall (scheme :: Scheme) . ByteString -> ByteString -> Option scheme

    req Network.HTTP.Req

    Create an Option that adds a header. Note that if you mappend two headers with the same names the leftmost header will win. This means, in particular, that you cannot create a request with several headers of the same name.

  7. headerRedacted :: forall (scheme :: Scheme) . ByteString -> ByteString -> Option scheme

    req Network.HTTP.Req

    Same as header, but with redacted values on print.

  8. headers :: HasHeaders a => a -> Headers

    snap-core Snap.Core

    Retrieve the headers from a datatype that has headers.

  9. headers :: HasHeaders a => a -> Headers

    snap-core Snap.Internal.Core

    Retrieve the headers from a datatype that has headers.

  10. headers :: HasHeaders a => a -> Headers

    snap-core Snap.Internal.Http.Types

    Retrieve the headers from a datatype that has headers.

Page 32 of many | Previous | Next