Skip to content
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

How to get response object from GraphQLOperation? #222

Closed
ghost opened this issue Mar 9, 2018 · 3 comments
Closed

How to get response object from GraphQLOperation? #222

ghost opened this issue Mar 9, 2018 · 3 comments
Milestone

Comments

@ghost
Copy link

ghost commented Mar 9, 2018

Is there any way to get a reference to response object? I would like to read a custom HTTP header from that objects.

@ghost ghost changed the title How to get response object from GraphQLOpearation? How to get response object from GraphQLOperation? Mar 9, 2018
@djriefler
Copy link

Any update here? I am running into a similar problem

@martijnwalraven
Copy link
Contributor

See the discussion on #223.

@designatednerd
Copy link
Contributor

This is now supported via the HTTPNetworkTransportTaskCompletedDelegate released in 0.11.0 - you can hook in through that and access your headers from there.

@designatednerd designatednerd added this to the 0.11.0 milestone Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants