Skip to main content

Module config

Module config 

Source
Expand description

Network configuration for the Aptos SDK.

This module provides configuration options for connecting to different Aptos networks (mainnet, testnet, devnet) or custom endpoints.

Structs§

AptosConfig
Configuration for the Aptos client.
PoolConfig
Configuration for HTTP connection pooling.
PoolConfigBuilder
Builder for PoolConfig.

Enums§

Network
Known Aptos networks.

Functions§

read_response_bounded
Reads a response body with an enforced size limit, aborting early if exceeded.
validate_url_scheme
Validates that a URL uses a safe scheme (http or https).