Expand description
HTTP client middleware for automatic x402 payment handling.
Provides X402HttpClient which implements reqwest_middleware::Middleware
to automatically intercept 402 responses, create payment payloads via an
r402::client::X402Client, and retry with the PAYMENT-SIGNATURE header.
Corresponds to Python SDK’s http/x402_http_client.py +
http/x402_http_client_base.py.
Structs§
- X402
Http Client - reqwest-middleware that automatically handles HTTP 402 responses.