network

Configures the network settings for the builder.

Parameters

network

The network configuration used for HTTP client requests and coroutine context.


Configures the network settings for the builder using the provided configuration block.

Parameters

builder

A lambda function used to configure the Network.Builder. This allows customization of the HTTP client, coroutine context, or other network-related settings.


Represents the network configuration used within the Builder. This property defines the HTTP client and coroutine context used for executing network operations. Can be customized directly by setting a Network instance or using a builder lambda function.

The default value is an instance of Network initialized with platform-specific defaults.

See also