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§
- Akamai
Sbsd Solution - Akamai SBSD solution.
- Akamai
Sbsd Task - Akamai SBSD task.
- Akamai
Sbsd Task Builder - Use builder syntax to set the inputs and finish with
build(). - Akamai
WebSolution - Akamai Web solution used in multi-round flows.
- Akamai
WebTask - Akamai Web task.
- Akamai
WebTask Builder - Use builder syntax to set the inputs and finish with
build(). - Async
EzCap Solver Client async - Non-blocking client for asynchronous and synchronous EzCaptchaSolver API operations.
- Client
Config - Configuration shared by the asynchronous and blocking clients.
- Client
Config Builder - Use builder syntax to set the inputs and finish with
build(). - Cloudflare5s
Solution - Cloudflare five-second challenge solution.
- Cloudflare5s
Task - Cloudflare five-second challenge task.
- Cloudflare5s
Task Builder - Use builder syntax to set the inputs and finish with
build(). - Cloudflare
Turnstile Solution - Cloudflare Turnstile solution.
- Cloudflare
Turnstile Task - Cloudflare Turnstile task.
- Cloudflare
Turnstile Task Builder - Use builder syntax to set the inputs and finish with
build(). - Create
Task Response - Response returned after an asynchronous task is created.
- Data
Dome Solution - DataDome solution, returned by both challenge steps.
- Data
Dome Tags Task - DataDome tags task.
- Data
Dome Tags Task Builder - Use builder syntax to set the inputs and finish with
build(). - Data
Dome Task - DataDome challenge task.
- Data
Dome Task Builder - Use builder syntax to set the inputs and finish with
build(). - EzCap
Solver Client blocking - Blocking client for asynchronous and synchronous EzCaptchaSolver API operations.
- EzError
- Structured error returned by the EzCaptchaSolver API.
- FunCaptcha
Classification Solution - FunCaptcha classification result, shape not yet confirmed.
- FunCaptcha
Classification Task - FunCaptcha image classification task.
- FunCaptcha
Classification Task Builder - Use builder syntax to set the inputs and finish with
build(). - FunCaptcha
Solution - FunCaptcha (Arkose Labs) token solution.
- FunCaptcha
Task - FunCaptcha token task.
- FunCaptcha
Task Builder - Use builder syntax to set the inputs and finish with
build(). - Hcaptcha
Classification Solution - HCaptcha classification result, shape not yet confirmed.
- Hcaptcha
Classification Task - HCaptcha image classification task.
- Hcaptcha
Classification Task Builder - Use builder syntax to set the inputs and finish with
build(). - Hcaptcha
Solution - HCaptcha solution observed from current workers.
- Hcaptcha
Task - HCaptcha token task.
- Hcaptcha
Task Builder - Use builder syntax to set the inputs and finish with
build(). - Incapsula
Solution - Incapsula worker response envelope.
- Incapsula
Task - Incapsula Reese84 task.
- Incapsula
Task Builder - Use builder syntax to set the inputs and finish with
build(). - PerimeterX
Solution - PerimeterX solution.
- PerimeterX
Task - PerimeterX task.
- PerimeterX
Task Builder - Use builder syntax to set the inputs and finish with
build(). - Polling
Config - Polling settings used while waiting for an asynchronous task.
- ReClassification
Solution - ReCaptcha V2 image classification result.
- Recaptcha
Solution - ReCaptcha token solution observed from V2 and V3 workers.
- Recaptcha
V2Classification Task - ReCaptcha V2 image classification request.
- Recaptcha
V2Classification Task Builder - Use builder syntax to set the inputs and finish with
build(). - Recaptcha
V2Task - Request parameters shared by ReCaptcha V2 task variants.
- Recaptcha
V2Task Builder - Use builder syntax to set the inputs and finish with
build(). - Recaptcha
V3Task - Request parameters shared by ReCaptcha V3 task variants.
- Recaptcha
V3Task Builder - Use builder syntax to set the inputs and finish with
build(). - Response
Meta - Envelope metadata included in every API response.
- Solved
- Completed task with its identifiers and solution.
- Task
Result - Response returned by task result queries and synchronous task creation.
- TlsForward
Solution - TLS forwarding response.
- TlsForward
Task - TLS forwarding task.
- TlsForward
Task Builder - Use builder syntax to set the inputs and finish with
build().
Enums§
- Data
Dome JsType - DataDome tags JavaScript mode.
- Data
Dome Step - DataDome challenge step.
- Error
- Errors produced by request construction, HTTP transport, API responses, and polling.
- Solution
- Raw solution field from a task response.
- Task
Mode - Static task execution mode declared by the service.
- Task
Status - Current state of a task.
- Task
Type - Known EzCaptchaSolver task type.
- TlsHttp
Method - 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§
- Task
Type Name - Source of the
typevalue sent with a task.
Type Aliases§
- Extra
Fields - Additional task properties forwarded to the worker without SDK validation.
- Result
- Result type returned by this crate.