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. LHead :: Text -> Attribute

    graphviz Data.GraphViz.Attributes.Complete

    Valid for: E; Default: ""; Notes: Dot only

  2. SameHead :: Text -> Attribute

    graphviz Data.GraphViz.Attributes.Complete

    Valid for: E; Default: ""; Notes: Dot only

  3. addHeaderBorders :: [Cell () text] -> [Cell NumLines text]

    hledger-lib Hledger.Write.Spreadsheet

    No documentation available.

  4. addRowSpanHeader :: Cell border text -> [[Cell border text]] -> [[Cell border text]]

    hledger-lib Hledger.Write.Spreadsheet

    No documentation available.

  5. getHeader :: Response -> ByteString -> Maybe ByteString

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

  6. getHeaders :: HttpType τ => τ -> Headers

    http-streams Network.Http.Client

    Get the Headers from a Request or Response.y

  7. getHeadersFull :: Connection -> Request -> Headers

    http-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)]
    

  8. getRequestHeaders :: Connection -> Request -> [(ByteString, ByteString)]

    http-streams Network.Http.Client

    Deprecated: use retrieveHeaders . getHeadersFull instead

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

  10. data JWEHeader p

    jose Crypto.JOSE.JWE

    No documentation available.

Page 203 of many | Previous | Next