requestHandler

fun requestHandler(handlerBuilder: (resources: ClientResources) -> RequestHandler)(source)

Configures the RequestHandler for the RestClient.

Kord(token) {
requestHandler { resources -> KtorRequestHandler(resources.httpClient, ExclusionRequestRateLimiter()) }
}