All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ClientResources.kt Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
package dev.kord.core

import dev.kord.common.entity.Snowflake
import dev.kord.core.supplier.EntitySupplyStrategy
import dev.kord.gateway.builder.Shards
import io.ktor.client.*

public class ClientResources(
    public val token: String,
    public val applicationId: Snowflake,
    public val shards: Shards,
    public val maxConcurrency: Int,
    public val httpClient: HttpClient,
    public val defaultStrategy: EntitySupplyStrategy<*>,
) {
    override fun toString(): String = "ClientResources(token=hunter2, applicationId=$applicationId, shards=$shards, " +
            "maxConcurrency=$maxConcurrency, httpClient=$httpClient, defaultStrategy=$defaultStrategy)"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy