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

Captcha.CapMonster.Internal

Description

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

Synopsis

Documentation

data CapMonster Source #

Used for picking MonadCaptcha instances for CapMonster.

Instances

Instances details
CaptchaResponse CapMonster HCaptcha Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.HCaptcha

CaptchaResponse CapMonster ReCaptchaV3 Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.ReCaptchaV3

CaptchaResponse CapMonster ReCaptchaV2 Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.ReCaptchaV2

CaptchaResponse CapMonster FunCaptcha Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.FunCaptcha

CaptchaResponse CapMonster ImageCaptcha Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.Image

(HasCaptchaEnv r, MonadReader r m, MonadUnliftIO m) => MonadCaptcha CapMonster r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal

Associated Types

type CaptchaError CapMonster r m #

(HasCaptchaEnv r, MonadReader r m, MonadIO m) => CaptchaRequest CapMonster HCaptcha r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.HCaptcha

(HasCaptchaEnv r, MonadReader r m, MonadIO m) => CaptchaRequest CapMonster ReCaptchaV3 r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.ReCaptchaV3

(HasCaptchaEnv r, MonadReader r m, MonadIO m) => CaptchaRequest CapMonster ReCaptchaV2 r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.ReCaptchaV2

(HasCaptchaEnv r, MonadReader r m, MonadIO m) => CaptchaRequest CapMonster FunCaptcha r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.FunCaptcha

(HasCaptchaEnv r, MonadReader r m, MonadIO m) => CaptchaRequest CapMonster ImageCaptcha r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal.Types.Image

type CaptchaError CapMonster r m Source # 
Instance details

Defined in Captcha.CapMonster.Internal

parseResponse :: (Value -> Maybe Value) -> Either HttpException (Response ByteString) -> Either CapMonsterError Value Source #

Parse the http response into the captcha answer, handling any errors found.