Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data H2ClientM a
- runH2ClientM :: H2ClientM a -> H2ClientEnv -> IO (Either ServantError a)
- data H2ClientEnv = H2ClientEnv ByteString Http2Client
- h2client :: HasClient H2ClientM api => Proxy api -> Client H2ClientM api
Documentation
Instances
runH2ClientM :: H2ClientM a -> H2ClientEnv -> IO (Either ServantError a) Source #
data H2ClientEnv Source #
Instances
MonadReader H2ClientEnv H2ClientM Source # | |
Defined in Network.HTTP2.Client.Servant ask :: H2ClientM H2ClientEnv # local :: (H2ClientEnv -> H2ClientEnv) -> H2ClientM a -> H2ClientM a # reader :: (H2ClientEnv -> a) -> H2ClientM a # |