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.
-
graphviz Data.GraphViz.Attributes.Complete Valid for: E; Default: ""; Notes: Dot only
-
graphviz Data.GraphViz.Attributes.Complete Valid for: E; Default: ""; Notes: Dot only
addHeaderBorders :: [Cell () text] -> [Cell NumLines text]hledger-lib Hledger.Write.Spreadsheet No documentation available.
addRowSpanHeader :: Cell border text -> [[Cell border text]] -> [[Cell border text]]hledger-lib Hledger.Write.Spreadsheet No documentation available.
getHeader :: Response -> ByteString -> Maybe ByteStringhttp-streams Network.Http.Client Lookup a header in the response. HTTP header field names are case-insensitive, so you can specify the name to lookup however you like. If the header is not present Nothing will be returned.
let n = case getHeader p "Content-Length" of Just x' -> read x' :: Int Nothing -> 0
which of course is essentially what goes on inside the client library when it receives a response from the server and has to figure out how many bytes to read. There is a fair bit of complexity in some of the other HTTP response fields, so there are a number of specialized functions for reading those values where we've found them useful.getHeaders :: HttpType τ => τ -> Headershttp-streams Network.Http.Client Get the Headers from a Request or Response.y
getHeadersFull :: Connection -> Request -> Headershttp-streams Network.Http.Client Get the headers that will be sent with this request. You likely won't need this but there are some corner cases where people need to make calculations based on all the headers before they go out over the wire. If you'd like the request headers as an association list, import the header functions:
import Network.Http.Types
then use retreiveHeaders as follows:>>> let kvs = retreiveHeaders $ getHeadersFull c q >>> :t kvs :: [(ByteString, ByteString)]
getRequestHeaders :: Connection -> Request -> [(ByteString, ByteString)]http-streams Network.Http.Client Deprecated: use retrieveHeaders . getHeadersFull instead
setHeader :: ByteString -> ByteString -> RequestBuilder ()http-streams Network.Http.Client Set a generic header to be sent in the HTTP request. The other methods in the RequestBuilder API are expressed in terms of this function, but we recommend you use them where offered for their stronger types.
-
jose Crypto.JOSE.JWE No documentation available.