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

Add websockets support #144

Merged
merged 29 commits into from
Dec 1, 2021
Merged

Add websockets support #144

merged 29 commits into from
Dec 1, 2021

Conversation

kevinheavey
Copy link
Collaborator

Adds websockets support by wrapping the websockets library.

Closes #45

@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

Merging #144 (fe11284) into master (83c9551) will increase coverage by 1.24%.
The diff coverage is 97.95%.

@@            Coverage Diff             @@
##           master     #144      +/-   ##
==========================================
+ Coverage   89.43%   90.68%   +1.24%     
==========================================
  Files          33       36       +3     
  Lines        2310     2652     +342     
==========================================
+ Hits         2066     2405     +339     
- Misses        244      247       +3     

Copy link
Owner

@michaelhly michaelhly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Can we move all the WebSocket sttuf to src/solana/rpc/websocket?

@kevinheavey
Copy link
Collaborator Author

nit: Can we move all the WebSocket sttuf to src/solana/rpc/websocket?

I’m planning on using request_builder.py and responses.py for the regular RPC API in a future PR, so I think it makes sense to leave them where they are

@michaelhly
Copy link
Owner

nit: Can we move all the WebSocket sttuf to src/solana/rpc/websocket?

I’m planning on using request_builder.py and responses.py for the regular RPC API in a future PR, so I think it makes sense to leave them where they are

Sounds good.

@kevinheavey kevinheavey merged commit 053fa3e into master Dec 1, 2021
@kevinheavey kevinheavey deleted the websockets branch December 1, 2021 22:01
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.

Support websocket connections
2 participants