Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides instances to be able to use combinators from Servant.API.NamedArgs with Servant.Client, returning functions using named parameters from Named
Orphan instances
(KnownSymbol name, FromHttpApiData a, HasServer api context) => HasServer (NamedCapture' mods name a :> api :: Type) context Source # |
|
type ServerT (NamedCapture' mods name a :> api) m :: Type # route :: Proxy (NamedCapture' mods name a :> api) -> Context context -> Delayed env (Server (NamedCapture' mods name a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedCapture' mods name a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedCapture' mods name a :> api) m -> ServerT (NamedCapture' mods name a :> api) n # | |
(KnownSymbol name, FromHttpApiData a, HasServer api context) => HasServer (NamedCaptureAll name a :> api :: Type) context Source # |
|
type ServerT (NamedCaptureAll name a :> api) m :: Type # route :: Proxy (NamedCaptureAll name a :> api) -> Context context -> Delayed env (Server (NamedCaptureAll name a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedCaptureAll name a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedCaptureAll name a :> api) m -> ServerT (NamedCaptureAll name a :> api) n # | |
(KnownSymbol name, FromHttpApiData a, HasServer api context, SBoolI (FoldRequired mods), SBoolI (FoldLenient mods)) => HasServer (NamedParam mods name a :> api :: Type) context Source # |
|
type ServerT (NamedParam mods name a :> api) m :: Type # route :: Proxy (NamedParam mods name a :> api) -> Context context -> Delayed env (Server (NamedParam mods name a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedParam mods name a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedParam mods name a :> api) m -> ServerT (NamedParam mods name a :> api) n # | |
(KnownSymbol name, FromHttpApiData a, HasServer api context) => HasServer (NamedParams name a :> api :: Type) context Source # |
|
type ServerT (NamedParams name a :> api) m :: Type # route :: Proxy (NamedParams name a :> api) -> Context context -> Delayed env (Server (NamedParams name a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedParams name a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedParams name a :> api) m -> ServerT (NamedParams name a :> api) n # | |
(KnownSymbol name, HasServer api context) => HasServer (NamedFlag name :> api :: Type) context Source # |
|
(KnownSymbol name, FromHttpApiData a, HasServer api context, SBoolI (FoldRequired mods), SBoolI (FoldLenient mods)) => HasServer (NamedHeader' mods name a :> api :: Type) context Source # |
|
type ServerT (NamedHeader' mods name a :> api) m :: Type # route :: Proxy (NamedHeader' mods name a :> api) -> Context context -> Delayed env (Server (NamedHeader' mods name a :> api)) -> Router env # hoistServerWithContext :: Proxy (NamedHeader' mods name a :> api) -> Proxy context -> (forall x. m x -> n x) -> ServerT (NamedHeader' mods name a :> api) m -> ServerT (NamedHeader' mods name a :> api) n # |