getThrottleLimit() public method

Get the limit of the throttle used.
public getThrottleLimit ( ) : integer
return integer
Beispiel #1
0
 /**
  * Get the headers for the response.
  *
  * @return array
  */
 protected function getHeaders()
 {
     return ['X-RateLimit-Limit' => $this->handler->getThrottleLimit(), 'X-RateLimit-Remaining' => $this->handler->getRemainingLimit(), 'X-RateLimit-Reset' => $this->handler->getRateLimitReset()];
 }