Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. type Header = Header' '[Optional, Strict]

    servant Servant.API.Header

    Extract the given header's value as a value of type a. I.e. header sent by client, parsed by server. Example:

    >>> newtype Referer = Referer Text deriving (Eq, Show)
    
    >>> 
    
    >>> -- GET /view-my-referer
    
    >>> type MyApi = "view-my-referer" :> Header "from" Referer :> Get '[JSON] Referer
    

  2. data Header' (mods :: [Type]) (sym :: Symbol) a

    servant Servant.API.Header

    No documentation available.

  3. Header :: a -> ResponseHeader (sym :: Symbol) a

    servant Servant.API.ResponseHeaders

    No documentation available.

  4. type family HeaderValMap (f :: Type -> Type) (xs :: [Type]) :: [Type]

    servant Servant.API.ResponseHeaders

    No documentation available.

  5. data Headers (ls :: [Type]) a

    servant Servant.API.ResponseHeaders

    Response Header objects. You should never need to construct one directly. Instead, use addOptionalHeader.

  6. Headers :: a -> HList ls -> Headers (ls :: [Type]) a

    servant Servant.API.ResponseHeaders

    No documentation available.

  7. type HeadNoContent = NoContentVerb 'HEAD

    servant Servant.API.Verbs

    HEAD with 204 status code.

  8. type Header = (HeaderName, ByteString)

    http-conduit Network.HTTP.Simple

    A full HTTP header field with the name and value separated. E.g. "Content-Length: 28" parsed into a Header would turn into ("Content-Length", "28")

  9. module GHC.Parser.Header

    Parsing the top of a Haskell source file to get its module name, imports and options. (c) Simon Marlow 2005 (c) Lemmih 2006

  10. data Header

    ghc GHC.Types.ForeignCall

    No documentation available.

Page 86 of many | Previous | Next