Copyright | (c) 2022 Edward Yang |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell2010 |
This module is for internal-use and does not follow pvp versioning policies.
Synopsis
- post :: (HasCaptchaEnv r, MonadReader r m, MonadIO m, Postable a) => Options -> Text -> a -> m (Response ByteString)
- get :: (HasCaptchaEnv r, MonadReader r m, MonadIO m) => Options -> Text -> m (Response ByteString)
Documentation
post :: (HasCaptchaEnv r, MonadReader r m, MonadIO m, Postable a) => Options -> Text -> a -> m (Response ByteString) Source #
Send a POST request with the given session from CaptchaEnv
.
get :: (HasCaptchaEnv r, MonadReader r m, MonadIO m) => Options -> Text -> m (Response ByteString) Source #
Send a GET request with the given session from CaptchaEnv
.