servant-http2-client-0.1.0.2: Generate HTTP2 clients from Servant API descriptions.

Safe HaskellNone
LanguageHaskell2010

Network.HTTP2.Client.Servant

Contents

Synopsis

Documentation

data H2ClientM a Source #

Instances
Monad H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

(>>=) :: H2ClientM a -> (a -> H2ClientM b) -> H2ClientM b #

(>>) :: H2ClientM a -> H2ClientM b -> H2ClientM b #

return :: a -> H2ClientM a #

fail :: String -> H2ClientM a #

Functor H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

fmap :: (a -> b) -> H2ClientM a -> H2ClientM b #

(<$) :: a -> H2ClientM b -> H2ClientM a #

Applicative H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

pure :: a -> H2ClientM a #

(<*>) :: H2ClientM (a -> b) -> H2ClientM a -> H2ClientM b #

liftA2 :: (a -> b -> c) -> H2ClientM a -> H2ClientM b -> H2ClientM c #

(*>) :: H2ClientM a -> H2ClientM b -> H2ClientM b #

(<*) :: H2ClientM a -> H2ClientM b -> H2ClientM a #

MonadIO H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

liftIO :: IO a -> H2ClientM a #

MonadThrow H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

throwM :: Exception e => e -> H2ClientM a #

MonadCatch H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Methods

catch :: Exception e => H2ClientM a -> (e -> H2ClientM a) -> H2ClientM a #

RunClient H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

MonadReader H2ClientEnv H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

MonadError ServantError H2ClientM Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Generic (H2ClientM a) Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

Associated Types

type Rep (H2ClientM a) :: * -> * #

Methods

from :: H2ClientM a -> Rep (H2ClientM a) x #

to :: Rep (H2ClientM a) x -> H2ClientM a #

type Rep (H2ClientM a) Source # 
Instance details

Defined in Network.HTTP2.Client.Servant

type Rep (H2ClientM a) = D1 (MetaData "H2ClientM" "Network.HTTP2.Client.Servant" "servant-http2-client-0.1.0.2-D19KZ56HcGGKqMJkJ9hpZX" True) (C1 (MetaCons "H2ClientM" PrefixI True) (S1 (MetaSel (Just "unH2ClientM") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (ReaderT H2ClientEnv (ExceptT ServantError IO) a))))

generate functions