Safe Haskell | None |
---|---|
Language | Haskell2010 |
Roboservant.Client
Contents
Documentation
fuzz :: (ToReifiedClientApi (Endpoints api), FlattenClient api, HasClient ClientM api) => ClientEnv -> Config -> IO (Maybe Report) Source #
class ToReifiedClientApi (api :: [Type]) where Source #
Methods
toReifiedClientApi :: ClientBundled api -> Proxy api -> ClientEnv -> ReifiedApi Source #
Instances
data ClientBundled (endpoints :: [Type]) where Source #
Constructors
AClientEndpoint :: forall endpoint (endpoints1 :: [Type]). Client ClientM endpoint -> ClientBundled endpoints1 -> ClientBundled (endpoint ': endpoints1) | |
NoClientEndpoints :: ClientBundled ('[] :: [Type]) |
class FlattenClient api where Source #
Methods
flattenClient :: Client ClientM api -> ClientBundled (Endpoints api) Source #
Instances
FlattenClient (NamedRoutes routes) Source # | |
Defined in Roboservant.Client Methods flattenClient :: Client ClientM (NamedRoutes routes) -> ClientBundled (Endpoints (NamedRoutes routes)) Source # | |
(FlattenClient api, Endpoints endpoint ~ '[endpoint]) => FlattenClient (endpoint :<|> api) Source # | |
Defined in Roboservant.Client Methods flattenClient :: Client ClientM (endpoint :<|> api) -> ClientBundled (Endpoints (endpoint :<|> api)) Source # | |
Endpoints api ~ '[api] => FlattenClient (x :> api) Source # | |
Defined in Roboservant.Client Methods flattenClient :: Client ClientM (x :> api) -> ClientBundled (Endpoints (x :> api)) Source # | |
FlattenClient (Verb method statusCode contentTypes responseType) Source # | |
Defined in Roboservant.Client Methods flattenClient :: Client ClientM (Verb method statusCode contentTypes responseType) -> ClientBundled (Endpoints (Verb method statusCode contentTypes responseType)) Source # |
shiftClient :: ApiOffset -> ReifiedApi -> ReifiedApi Source #
mapCurried :: forall (ts :: [Type]) a b. RecordCurry' ts => (a -> b) -> Curried ts a -> Curried ts b Source #
type ResultType = Either InteractionError (NonEmpty (Dynamic, Int)) Source #