twitter-api-php icon indicating copy to clipboard operation
twitter-api-php copied to clipboard

Get response headers from request

Open eddieharrison opened this issue 7 years ago • 1 comments

I wanted to be able to get the response headers from a request to handle the x-rate-limit-remaining in our app.

I've made it an optional setting before the request and added the ability to retrieve them after the request via a private property.

Added a phpunit test for this going forwards too.

eddieharrison avatar Dec 19 '17 21:12 eddieharrison

@eddieharrison Any plans to move this forward? I'd also need this feature to retrieve rate limit headers.

gregorpraprotnik avatar Mar 01 '18 14:03 gregorpraprotnik