diff --git a/recws.go b/recws.go index 9abf55a..4fee538 100644 --- a/recws.go +++ b/recws.go @@ -210,6 +210,7 @@ func (rc *RecConn) setDefaultHandshakeTimeout() { } } + func (rc *RecConn) setDefaultDialer(handshakeTimeout time.Duration) { rc.mu.Lock() defer rc.mu.Unlock()