Skip to content

New Response object from API #1558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 4, 2021
Merged

New Response object from API #1558

merged 6 commits into from
Nov 4, 2021

Conversation

picandocodigo
Copy link
Member

This Pull Request updates the response from the API endpoints to an object with headers, status and body methods that return that information from the Elastic::Transport::Transport::Response object. It delegates all the other method calls to the response body, so it will still behave the way it used to behave when the API returned the response body instead.

@picandocodigo picandocodigo mentioned this pull request Nov 3, 2021
8 tasks
@picandocodigo picandocodigo merged commit b253e51 into main Nov 4, 2021
@picandocodigo picandocodigo deleted the new_response branch November 4, 2021 12:05
@picandocodigo picandocodigo mentioned this pull request Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant