named-servant-client-0.3.1: client support for named-servant
Safe HaskellNone
LanguageHaskell2010

Servant.Client.Named

Description

This module just exports orphan instances to make named-servant work with clients

Orphan instances

(KnownSymbol sym, HasClient m api) => HasClient m (NamedQueryFlag sym :> api) Source # 
Instance details

Associated Types

type Client m (NamedQueryFlag sym :> api) #

Methods

clientWithRoute :: Proxy m -> Proxy (NamedQueryFlag sym :> api) -> Request -> Client m (NamedQueryFlag sym :> api) #

hoistClientMonad :: Proxy m -> Proxy (NamedQueryFlag sym :> api) -> (forall x. mon x -> mon' x) -> Client mon (NamedQueryFlag sym :> api) -> Client mon' (NamedQueryFlag sym :> api) #

(KnownSymbol sym, ToHttpApiData a, HasClient m sub, SBoolI (FoldRequired mods)) => HasClient m (NamedQueryParam' mods sym a :> sub) Source # 
Instance details

Associated Types

type Client m (NamedQueryParam' mods sym a :> sub) #

Methods

clientWithRoute :: Proxy m -> Proxy (NamedQueryParam' mods sym a :> sub) -> Request -> Client m (NamedQueryParam' mods sym a :> sub) #

hoistClientMonad :: Proxy m -> Proxy (NamedQueryParam' mods sym a :> sub) -> (forall x. mon x -> mon' x) -> Client mon (NamedQueryParam' mods sym a :> sub) -> Client mon' (NamedQueryParam' mods sym a :> sub) #

(KnownSymbol sym, ToHttpApiData a, HasClient m api) => HasClient m (NamedQueryParams sym a :> api) Source # 
Instance details

Associated Types

type Client m (NamedQueryParams sym a :> api) #

Methods

clientWithRoute :: Proxy m -> Proxy (NamedQueryParams sym a :> api) -> Request -> Client m (NamedQueryParams sym a :> api) #

hoistClientMonad :: Proxy m -> Proxy (NamedQueryParams sym a :> api) -> (forall x. mon x -> mon' x) -> Client mon (NamedQueryParams sym a :> api) -> Client mon' (NamedQueryParams sym a :> api) #