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. data OptHeader (h :: k)

    servant Servant.API.MultiVerb

    A wrapper to turn a response header into an optional one.

  2. class ServantHeader (h :: k) (name :: Symbol) x | h -> name x

    servant Servant.API.MultiVerb

    No documentation available.

  3. class ServantHeaders (headers :: k) (xs :: [Type]) | headers -> xs

    servant Servant.API.MultiVerb

    No documentation available.

  4. data WithHeaders (headers :: [Type]) returnType response

    servant Servant.API.MultiVerb

    This type adds response headers to a MultiVerb response.

  5. constructHeader :: ServantHeader h name x => x -> [Header]

    servant Servant.API.MultiVerb

    No documentation available.

  6. constructHeaders :: ServantHeaders headers xs => NP I xs -> [Header]

    servant Servant.API.MultiVerb

    No documentation available.

  7. extractHeaders :: ServantHeaders headers xs => Seq Header -> Maybe (NP I xs)

    servant Servant.API.MultiVerb

    No documentation available.

  8. fromHeaders :: AsHeaders headers response returnType => (NP I headers, response) -> returnType

    servant Servant.API.MultiVerb

    No documentation available.

  9. toHeaders :: AsHeaders headers response returnType => returnType -> (NP I headers, response)

    servant Servant.API.MultiVerb

    No documentation available.

  10. module Servant.API.ResponseHeaders

    This module provides facilities for adding headers to a response.

    >>> let headerVal = addHeader "some-url" 5 :: Headers '[Header "Location" String] Int
    
    The value is added to the header specified by the type (Location in the example above).

Page 146 of many | Previous | Next