Skip to content

Adding custom wsHeaders to SubscriptionClient #568

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamgoose
Copy link

Related to #187 and #144, I'd like the ability to pass additional header values to the websocket connection.

@ebisbe
Copy link

ebisbe commented Feb 10, 2022

@adamgoose do you use this for AWS appsync? I'm struggling to set the headers correctly and end up here.

@adamgoose
Copy link
Author

@adamgoose do you use this for AWS appsync? I'm struggling to set the headers correctly and end up here.

Nah, trying to set x-hausura-role when trying to create subscriptions to a self-hosted instance of Hasura. Same thing, though.

@ebisbe
Copy link

ebisbe commented Feb 11, 2022

I'll try this vuejs/apollo#713 (comment) @adamgoose

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

Successfully merging this pull request may close these issues.

2 participants