tungstenite-rs
tungstenite-rs copied to clipboard
Fix handshake for `arti-client`
As requirement for usage of arti-client, added a flush method call in the HandshakeMachine writing round, to fix "handshake not completed" error.
https://gitlab.torproject.org/tpo/core/arti/-/blob/9b1687894d8533b079fc36cec65c6b655474b761/crates/arti-client/examples/lazy-init.rs#L74