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

rpc: add DialWebsocketWithDialer #20471

Merged
merged 1 commit into from
Jan 6, 2020
Merged

rpc: add DialWebsocketWithDialer #20471

merged 1 commit into from
Jan 6, 2020

Conversation

cpacia
Copy link
Contributor

@cpacia cpacia commented Dec 19, 2019

Allow instantiating a RPC websocket client using a custom dialer so a user can use custom dial options.

This is similar to the DialHTTPWithClient which allows instantiating a RPC http client with a custom http client.

This commit intents to replicate the DialHTTPWithClient function which allows
creating a RPC Client using a custom dialer but for websockets.

We introduce a new DialWebsocketWithDialer function which allows the caller
to instantiate a new websocket client using a custom dialer.
@cpacia cpacia requested review from fjl and holiman as code owners December 19, 2019 00:13
@fjl fjl changed the title Create function to create a websocket client using a custom dialer. rpc: add DialWebsocketWithDialer Jan 6, 2020
@fjl fjl merged commit 2eeb8dd into ethereum:master Jan 6, 2020
@karalabe karalabe added this to the 1.9.10 milestone Jan 9, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
This commit intents to replicate the DialHTTPWithClient function which allows
creating a RPC Client using a custom dialer but for websockets.

We introduce a new DialWebsocketWithDialer function which allows the caller
to instantiate a new websocket client using a custom dialer.
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.

3 participants