extended-0.1.0: Extended versions of common modules
Safe HaskellSafe-Inferred
LanguageGHC2021

Servant.API.Extended.Endpath

Synopsis

Documentation

data Endpath Source #

Doesn't allow any trailing path components when used with Raw

Instances

Instances details
RoutesToPaths route => RoutesToPaths (Endpath :> route :: Type) Source # 
Instance details

Defined in Servant.API.Extended.Endpath

(HasServer api context, HasContextEntry (context .++ DefaultErrorFormatters) ErrorFormatters) => HasServer (Endpath :> api :: Type) context Source # 
Instance details

Defined in Servant.API.Extended.Endpath

Associated Types

type ServerT (Endpath :> api) m Source #

Methods

route :: Proxy (Endpath :> api) -> Context context -> Delayed env (Server (Endpath :> api)) -> Router env Source #

hoistServerWithContext :: Proxy (Endpath :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (Endpath :> api) m -> ServerT (Endpath :> api) n Source #

type ServerT (Endpath :> api :: Type) m Source # 
Instance details

Defined in Servant.API.Extended.Endpath

type ServerT (Endpath :> api :: Type) m = ServerT api m