tomusdrw / rust-web3

Ethereum JSON-RPC multi-transport client. Rust implementation of web3 library. ENS address: rust-web3.eth
MIT License
1.45k stars 465 forks source link

Add support for ping pong in the WebSocket transport #646

Open marmistrz opened 2 years ago

marmistrz commented 2 years ago

This ideally would be configurable but I don't see a straightforward and backwards compatible way of making it configurable. Perhaps a builder pattern would be what we need.

Build on top of #639, which I find more important.

I'm not sure what we should do for async-std, which doesn't have a time module.