hyperliquid-dex / hyperliquid-rust-sdk

MIT License
57 stars 47 forks source link

Add ws/robust, an alternative to ws_manager #49

Open abrkn opened 1 month ago

abrkn commented 1 month ago

This alternative to ws_manager with some improvements:

It does not implement connection retries since this should be built on top as it requires informing subscribers that the stream is interrupted and the client is missing messages.

TODO

abrkn commented 1 month ago

This is my first time writing a Rust lib. Any feedback would be welcome!

I'll be testing the lib myself in the coming weeks and expect lots of changes based on that, hence leaving this PR as a draft.