2 ms·
What's your preferred websocket implementation?
by nextaccountic 4y ago
What's your preferred websocket implementation?
- electromech 4y ago(copy-pasting what I said in sibling comment) soketto has a hyper example. I haven't found a websocket benchmark that compares them, but you can see here that soketto let's you re-use a buffer: https://docs.rs/soketto/latest/src/soketto/connection.rs.html#335 https://docs.rs/soketto/latest/src/soketto/connection.rs.htm... It's on my to-do list to try soketto, but the thought of benchmarking websocket implementations sounds tedious.