I'm looking at how best to determine that my transport layer is still active without having to send a request to the server and get an ErrorKind::NotConnected. I've noticed that the transport object is heavily buried int he client. Any suggestions about best way to do a quick boolean check before trying to read/write and having to create a new connection?
I'm looking at how best to determine that my transport layer is still active without having to send a request to the server and get an ErrorKind::NotConnected. I've noticed that the transport object is heavily buried int he client. Any suggestions about best way to do a quick boolean check before trying to read/write and having to create a new connection?