Skip to content

Conversation

sundbry
Copy link

@sundbry sundbry commented Feb 8, 2024

Hello @hindol,

Thanks for sharing this code!

For certain JSON-RPC servers, specific headers including Authorization may be required to authorize requests.

This adds an optional :headers keyword with a map of supplemental headers to send in the channel.

For a websocket, the headers are sent when the socket is opened; for an HTTP client, the headers are sent with each RPC.

For providing supplemental headers, including Authorization, when
opening a channel.
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.

1 participant