Skip to main content

Crate ezcapsolver

Crate ezcapsolver 

Source
Expand description

Rust SDK for the EzCaptchaSolver task API.

The crate exposes task and response models without requiring an HTTP client feature. The default feature set enables both clients: EzCapSolverClient blocks the calling thread, AsyncEzCapSolverClient runs on Tokio. The names match the other language SDKs, where the plain name is the synchronous client and the Async prefix marks the asynchronous one.

Structs§

AkamaiSbsdSolution
Akamai SBSD solution.
AkamaiSbsdTask
Akamai SBSD task.
AkamaiSbsdTaskBuilder
Use builder syntax to set the inputs and finish with build().
AkamaiWebSolution
Akamai Web solution used in multi-round flows.
AkamaiWebTask
Akamai Web task.
AkamaiWebTaskBuilder
Use builder syntax to set the inputs and finish with build().
AsyncEzCapSolverClientasync
Non-blocking client for asynchronous and synchronous EzCaptchaSolver API operations.
ClientConfig
Configuration shared by the asynchronous and blocking clients.
ClientConfigBuilder
Use builder syntax to set the inputs and finish with build().
Cloudflare5sSolution
Cloudflare five-second challenge solution.
Cloudflare5sTask
Cloudflare five-second challenge task.
Cloudflare5sTaskBuilder
Use builder syntax to set the inputs and finish with build().
CloudflareTurnstileSolution
Cloudflare Turnstile solution.
CloudflareTurnstileTask
Cloudflare Turnstile task.
CloudflareTurnstileTaskBuilder
Use builder syntax to set the inputs and finish with build().
CreateTaskResponse
Response returned after an asynchronous task is created.
DataDomeSolution
DataDome solution, returned by both challenge steps.
DataDomeTagsTask
DataDome tags task.
DataDomeTagsTaskBuilder
Use builder syntax to set the inputs and finish with build().
DataDomeTask
DataDome challenge task.
DataDomeTaskBuilder
Use builder syntax to set the inputs and finish with build().
EzCapSolverClientblocking
Blocking client for asynchronous and synchronous EzCaptchaSolver API operations.
EzError
Structured error returned by the EzCaptchaSolver API.
FunCaptchaClassificationSolution
FunCaptcha classification result, shape not yet confirmed.
FunCaptchaClassificationTask
FunCaptcha image classification task.
FunCaptchaClassificationTaskBuilder
Use builder syntax to set the inputs and finish with build().
FunCaptchaSolution
FunCaptcha (Arkose Labs) token solution.
FunCaptchaTask
FunCaptcha token task.
FunCaptchaTaskBuilder
Use builder syntax to set the inputs and finish with build().
HcaptchaClassificationSolution
HCaptcha classification result, shape not yet confirmed.
HcaptchaClassificationTask
HCaptcha image classification task.
HcaptchaClassificationTaskBuilder
Use builder syntax to set the inputs and finish with build().
HcaptchaSolution
HCaptcha solution observed from current workers.
HcaptchaTask
HCaptcha token task.
HcaptchaTaskBuilder
Use builder syntax to set the inputs and finish with build().
IncapsulaSolution
Incapsula worker response envelope.
IncapsulaTask
Incapsula Reese84 task.
IncapsulaTaskBuilder
Use builder syntax to set the inputs and finish with build().
PerimeterXSolution
PerimeterX solution.
PerimeterXTask
PerimeterX task.
PerimeterXTaskBuilder
Use builder syntax to set the inputs and finish with build().
PollingConfig
Polling settings used while waiting for an asynchronous task.
ReClassificationSolution
ReCaptcha V2 image classification result.
RecaptchaSolution
ReCaptcha token solution observed from V2 and V3 workers.
RecaptchaV2ClassificationTask
ReCaptcha V2 image classification request.
RecaptchaV2ClassificationTaskBuilder
Use builder syntax to set the inputs and finish with build().
RecaptchaV2Task
Request parameters shared by ReCaptcha V2 task variants.
RecaptchaV2TaskBuilder
Use builder syntax to set the inputs and finish with build().
RecaptchaV3Task
Request parameters shared by ReCaptcha V3 task variants.
RecaptchaV3TaskBuilder
Use builder syntax to set the inputs and finish with build().
ResponseMeta
Envelope metadata included in every API response.
Solved
Completed task with its identifiers and solution.
TaskResult
Response returned by task result queries and synchronous task creation.
TlsForwardSolution
TLS forwarding response.
TlsForwardTask
TLS forwarding task.
TlsForwardTaskBuilder
Use builder syntax to set the inputs and finish with build().

Enums§

DataDomeJsType
DataDome tags JavaScript mode.
DataDomeStep
DataDome challenge step.
Error
Errors produced by request construction, HTTP transport, API responses, and polling.
Solution
Raw solution field from a task response.
TaskMode
Static task execution mode declared by the service.
TaskStatus
Current state of a task.
TaskType
Known EzCaptchaSolver task type.
TlsHttpMethod
HTTP method accepted by TLS forwarding tasks.

Constants§

DEFAULT_ASYNC_BASE_URL
Default base URL for asynchronous task operations and balance queries.
DEFAULT_CLIENT_KEY_ENV
Default environment variable used to load the client key.
DEFAULT_MAX_POLL_ATTEMPTS
Default number of result queries before polling gives up.
DEFAULT_POLL_INTERVAL
Default delay between two result queries.
DEFAULT_SYNC_BASE_URL
Default base URL for synchronous task operations.
DEFAULT_SYNC_TIMEOUT
Default timeout for the synchronous task endpoint.
DEFAULT_TIMEOUT
Default timeout for asynchronous endpoints and balance queries.

Traits§

TaskTypeName
Source of the type value sent with a task.

Type Aliases§

ExtraFields
Additional task properties forwarded to the worker without SDK validation.
Result
Result type returned by this crate.