servant-0.19.1: A family of combinators for defining webservices APIs
Safe Haskell Safe-Inferred
Language Haskell2010

Servant.API.NamedRoutes

Synopsis

NamedRoutes combinator

data NamedRoutes (api :: * -> *) Source #

Combinator for embedding a record of named routes into a Servant API type.

Instances

Instances details
( HasLink ( ToServantApi routes), forall a. GLink routes a) => HasLink ( NamedRoutes routes :: Type ) Source #
Instance details

Defined in Servant.Links

Associated Types

type MkLink ( NamedRoutes routes) a Source #

type MkLink ( NamedRoutes routes :: Type ) a Source #
Instance details

Defined in Servant.Links

type MkLink ( NamedRoutes routes :: Type ) a = routes ( AsLink a)