Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. getRequestHead :: Request -> RequestHead

    wai-websockets Network.Wai.Handler.WebSockets

    No documentation available.

  2. 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")
    
    

  3. 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.

  4. 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")
    
    

  5. 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.

  6. InvalidHeader :: ValidationFailure

    basement Basement.String

    No documentation available.

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

    event-list Data.EventList.Relative.MixedBody

    No documentation available.

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

    event-list Data.EventList.Relative.MixedTime

    No documentation available.

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

    event-list Data.EventList.Relative.MixedTime

    No documentation available.

  10. forceTimeHead :: C time => T time body -> T time body

    event-list Data.EventList.Relative.TimeTime

    No documentation available.

Page 184 of many | Previous | Next