We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 set headers in first http1.1 request before connection upgrade for TransportWebSocketLink? For authentication purpose
It seems like there is no options for that
TransportWsClientOptions( socketMaker: WebSocketMaker.url(() => "http://0.0.0.0/graphql"), connectionParams: () async { // payload String? token = await getAccessToken(); return { "headers": { "Authorization": "Bearer $token", }, "Authorization": "Bearer $token", }; }, )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
how to set headers in first http1.1 request before connection upgrade for TransportWebSocketLink? For authentication purpose
It seems like there is no options for that
The text was updated successfully, but these errors were encountered: