Expand description
Explicit shard routing and a bounded JSON-RPC transport.
Routing has no network side effects. Native HTTP and WebSocket transports are optional; native futures are Send while browser adapters have a separate bound.
Modules§
- fetch
- General resource requests with explicit limits and lifecycle. Bounded general resource fetching, separate from JSON-RPC submission policy.
Structs§
- DynTransport
- Any native transport behind one concrete, cheaply cloned type.
- Endpoint
- A validated endpoint.
Debugdeliberately omits paths and query credentials. - Http
Config - Limits applied to every HTTP request.
- Http
Proxy - An explicit forward proxy for
HttpTransport: HTTP(S) or SOCKS5. - Http
Transport - Native pooled HTTP transport with no redirects or automatic retries.
- Quantity
Error - A malformed or overflowing 256-bit JSON-RPC quantity.
- Remote
Error - JSON-RPC error details. Message/data are available explicitly but redacted in diagnostics.
- Routing
- A validated static shard-to-endpoint table. No silent shard fallback occurs.
- WsConfig
- Resource and deadline limits for a single explicit native WebSocket connection.
- WsSubscription
- Bounded notification receiver. Call
unsubscribefor independent graceful removal. - WsTransport
- One explicit endpoint and one multiplexed session. Clones share its resource limits.
Enums§
- Route
Error - Invalid routing configuration, without echoing credential-bearing input.
- RpcError
- Bounded transport/protocol failures; no raw URL or response body is displayed.
- WsSubscription
Kind - Common Quai subscription requests. The endpoint selects the shard; no zone parameter is added.
Constants§
- MAX_
BATCH_ CALLS - Maximum calls accepted in one batch, for every transport that supports one.
Traits§
- Transport
- A transport independent of routing and key material.
Functions§
- parse_
quantity - Parse an unsigned quantity, rejecting empty, padded and overflowing values.
- parse_
use_ pathing - Parse text configuration without JavaScript’s nonempty-string truthiness.
Type Aliases§
- Batch
Result - Entire batch transport/envelope result, containing ordered per-request results.
- U256
Uintfor256bits.