Network

data class Network(source)

Represents a network configuration with an HTTP client and coroutine context. This network configuration is used for making HTTP requests and specifying the coroutine context under which the requests will be executed.

Types

Link copied to clipboard
class Builder

Builder class that provides a fluent API to configure and build a Network instance. Allows the customization of the underlying HTTP client and the coroutine context used within the Network.

Properties

Link copied to clipboard
val client: HttpClient

The HTTP client used for performing network requests.

Link copied to clipboard

The coroutine context used for managing concurrency in network operations.