Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eved EvedClient ClientM Source # | |
Defined in Web.Eved.Client (.<|>) :: EvedClient a -> EvedClient b -> EvedClient (a :<|> b) Source # lit :: Text -> EvedClient a -> EvedClient a Source # capture :: Text -> UrlElement a -> EvedClient b -> EvedClient (a -> b) Source # reqBody :: NonEmpty (ContentType a) -> EvedClient b -> EvedClient (a -> b) Source # queryParam :: Text -> QueryParam a -> EvedClient b -> EvedClient (a -> b) Source # header :: Text -> Header a -> EvedClient b -> EvedClient (a -> b) Source # verb :: StdMethod -> Status -> NonEmpty (ContentType a) -> EvedClient (ClientM a) Source # |
runClientIO :: ClientM a -> IO a Source #
runClient :: (MonadIO m, MonadReader env m, HasHttpManager env) => ClientM a -> m a Source #
newtype EvedClient a Source #
Instances
EvedAuth EvedClient Source # | |
Defined in Web.Eved.Auth auth_ :: NonEmpty (AuthScheme a) -> EvedClient b -> EvedClient (a -> b) Source # | |
Eved EvedClient ClientM Source # | |
Defined in Web.Eved.Client (.<|>) :: EvedClient a -> EvedClient b -> EvedClient (a :<|> b) Source # lit :: Text -> EvedClient a -> EvedClient a Source # capture :: Text -> UrlElement a -> EvedClient b -> EvedClient (a -> b) Source # reqBody :: NonEmpty (ContentType a) -> EvedClient b -> EvedClient (a -> b) Source # queryParam :: Text -> QueryParam a -> EvedClient b -> EvedClient (a -> b) Source # header :: Text -> Header a -> EvedClient b -> EvedClient (a -> b) Source # verb :: StdMethod -> Status -> NonEmpty (ContentType a) -> EvedClient (ClientM a) Source # |
getClient :: EvedClient a -> Text -> a Source #