requestKey

fun requestKey(block: suspend (ApplicationCall) -> Any)

Sets a function that returns a key for a request. Requests with different keys will have independent Rate-Limits. Keys should have good equals and hashCode implementations. By default, the key is a Unit, so all requests share the same Rate-Limit.