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. tapeHead :: Tape a -> a

    pretty-simple Text.Pretty.Simple.Internal.Printer

    the focused element

  2. getRequestHead :: Request -> RequestHead

    wai-websockets Network.Wai.Handler.WebSockets

    No documentation available.

  3. responseHeader :: HeaderName -> Traversal' (Response body) ByteString

    wreq Network.Wreq

    A lens onto all matching named headers in an HTTP response. To access exactly one header (the result will be the empty string if there is no match), use the (^.) operator.

    r <- get "http://httpbin.org/get"
    print (r ^. responseHeader "Content-Type")
    
    
    To access at most one header (the result will be Nothing if there is no match), use the (^?) operator.
    r <- get "http://httpbin.org/get"
    print (r ^? responseHeader "Content-Transfer-Encoding")
    
    
    To access all (zero or more) matching headers, use the (^..) operator.
    r <- get "http://httpbin.org/get"
    print (r ^.. responseHeader "Set-Cookie")
    
    

  4. responseHeaders :: forall body f . Functor f => (ResponseHeaders -> f ResponseHeaders) -> Response body -> f (Response body)

    wreq Network.Wreq

    A lens onto all headers in an HTTP response.

  5. responseHeader :: HeaderName -> Traversal' (Response body) ByteString

    wreq Network.Wreq.Lens

    A lens onto all matching named headers in an HTTP response. To access exactly one header (the result will be the empty string if there is no match), use the (^.) operator.

    r <- get "http://httpbin.org/get"
    print (r ^. responseHeader "Content-Type")
    
    
    To access at most one header (the result will be Nothing if there is no match), use the (^?) operator.
    r <- get "http://httpbin.org/get"
    print (r ^? responseHeader "Content-Transfer-Encoding")
    
    
    To access all (zero or more) matching headers, use the (^..) operator.
    r <- get "http://httpbin.org/get"
    print (r ^.. responseHeader "Set-Cookie")
    
    

  6. responseHeaders :: forall body f . Functor f => (ResponseHeaders -> f ResponseHeaders) -> Response body -> f (Response body)

    wreq Network.Wreq.Lens

    A lens onto all headers in an HTTP response.

  7. InvalidHeader :: ValidationFailure

    basement Basement.String

    No documentation available.

  8. mapTimeHead :: (time -> time) -> T time body -> T time body

    event-list Data.EventList.Relative.MixedBody

    No documentation available.

  9. mapBodyHead :: (body -> body) -> T time body -> T time body

    event-list Data.EventList.Relative.MixedTime

    No documentation available.

  10. mapTimeHead :: (time -> time) -> T time body -> T time body

    event-list Data.EventList.Relative.MixedTime

    No documentation available.

Page 184 of many | Previous | Next