getRateLimitReset() public method

Get the timestamp for when the current rate limiting will expire.
public getRateLimitReset ( ) : 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()];
 }