Skip to content

Adding custom wsHeaders to SubscriptionClient#568

Open
adamgoose wants to merge 1 commit into
Akryum:masterfrom
adamgoose:wsHeaders
Open

Adding custom wsHeaders to SubscriptionClient#568
adamgoose wants to merge 1 commit into
Akryum:masterfrom
adamgoose:wsHeaders

Conversation

@adamgoose

Copy link
Copy Markdown

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

@ebisbe

ebisbe commented Feb 10, 2022

Copy link
Copy Markdown

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

@adamgoose

Copy link
Copy Markdown
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

ebisbe commented Feb 11, 2022

Copy link
Copy Markdown

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