KtorRequestHandler
constructor(client: HttpClient, requestRateLimiter: RequestRateLimiter = ExclusionRequestRateLimiter(), clock: Clock = Clock.System, parser: Json = jsonDefault, token: String)(source)
Parameters
client
A HttpClient configured with the required headers for identification.
clock
A Clock to calculate bucket reset times, exposed for testing.
parser
Serializer used to parse payloads.