diff --git a/src/client.rs b/src/client.rs index 0b70af3..1b20980 100644 --- a/src/client.rs +++ b/src/client.rs @@ -160,7 +160,7 @@ pub fn connect_with_config( /// use `client` instead. There is no need to enable the "tls" feature if you don't call /// `connect` since it's the only function that uses native_tls. pub fn connect(request: Req) -> Result<(WebSocket, Response)> { - connect_with_config(request, None, 0) + connect_with_config(request, None, 3) } fn connect_to_some(addrs: &[SocketAddr], uri: &Uri, mode: Mode) -> Result {