RateLimiter

spice.http.client.intercept.RateLimiter
case class RateLimiter(perRequestDelay: FiniteDuration) extends InterceptorAdapter

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Interceptor
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def before(request: HttpRequest): IO[HttpRequest]

Attributes

Definition Classes

Inherited methods

override def after(request: HttpRequest, result: Try[HttpResponse]): IO[Try[HttpResponse]]

Attributes

Definition Classes
Inherited from:
InterceptorAdapter
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product