captcha-core-0.1.0.1: A package for integrating a variety of captcha solving services.
Copyright(c) 2022 Edward Yang
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Captcha.Internal.Request

Description

This module is for internal-use and does not follow pvp versioning policies.

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.