I’m attempting setup a Connection with a Client handler for the ws-rs crate with two channels. One channel is for receiving and the other for sending messages on the websocket connection. I’m failing to understand how to setup the threads correctly to achieve this behavior. The examples from the crate do no seem to demonstrate how this could be done. Does anyone have suggestions or examples that would work for ws-rs or should look into using another crate?
Here is link to the GitHub issue and my current attempt in connection.rs.