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.
-
pretty-simple Text.Pretty.Simple.Internal.Printer the focused element
getRequestHead :: Request -> RequestHeadwai-websockets Network.Wai.Handler.WebSockets No documentation available.
responseHeader :: HeaderName -> Traversal' (Response body) ByteStringwreq 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")
-
wreq Network.Wreq A lens onto all headers in an HTTP response.
responseHeader :: HeaderName -> Traversal' (Response body) ByteStringwreq 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")
-
wreq Network.Wreq.Lens A lens onto all headers in an HTTP response.
InvalidHeader :: ValidationFailurebasement Basement.String No documentation available.
mapTimeHead :: (time -> time) -> T time body -> T time bodyevent-list Data.EventList.Relative.MixedBody No documentation available.
mapBodyHead :: (body -> body) -> T time body -> T time bodyevent-list Data.EventList.Relative.MixedTime No documentation available.
mapTimeHead :: (time -> time) -> T time body -> T time bodyevent-list Data.EventList.Relative.MixedTime No documentation available.