pub fn ws_connect_outcome(error: Option<&Error>) -> Option<Outcome>
The outcome of a WebSocket connect: an HTTP answer to the handshake, even a refusal, means the server was reached.