Skip to content

Pulling response headers from request #330

Answered by baywet
meain asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @meain
The SDK already has a retry-handler that automatically reads the headers and retries failed responses across all the API surface for you.
You can either create your own handler and replace this one in the client configuration if you'd like to change the behavior across all requests.
Or you can use the RequestHandlerOption to intercept the response handlers for a one of request.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by meain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants