Package-level declarations

Types

Link copied to clipboard
interface DrandApi : Closeable

Core interface for interacting with drand networks via various transport mechanisms.

Link copied to clipboard
class DrandHttpApi(baseUrl: String = "https://api.drand.sh", config: HttpConfig = HttpConfig(), httpClient: HttpClient = createDefaultHttpClient(config)) : DrandApi

HTTP implementation of the drand API using Ktor client.

Link copied to clipboard
data class HttpConfig(val requestTimeoutMs: Long, val connectTimeoutMs: Long, val socketTimeoutMs: Long)

Configuration for HTTP transport timeouts.