named-servant-server-0.0.1: server support for named-servant
Servant.Named.Server
Contents
Description
This module just exports orphan instances to make named-servant work with servers
Associated Types
type ServerT (NamedQueryParam' mods sym a :> api) m :: Type #
Methods
route :: Proxy (NamedQueryParam' mods sym a :> api) -> Context context -> Delayed env (Server (NamedQueryParam' mods sym a :> api)) -> Router env #
hoistServerWithContext :: Proxy (NamedQueryParam' mods sym a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedQueryParam' mods sym a :> api) m -> ServerT (NamedQueryParam' mods sym a :> api) n #
type ServerT (NamedQueryParams sym a :> api) m :: Type #
route :: Proxy (NamedQueryParams sym a :> api) -> Context context -> Delayed env (Server (NamedQueryParams sym a :> api)) -> Router env #
hoistServerWithContext :: Proxy (NamedQueryParams sym a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedQueryParams sym a :> api) m -> ServerT (NamedQueryParams sym a :> api) n #