captcha-core-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Captcha.Internal.Request

Synopsis

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.