From 8f5f157d7b6014826440dba8b3c913686c9b8023 Mon Sep 17 00:00:00 2001 From: Roman Vasilyev Date: Thu, 28 Nov 2019 10:18:45 -0800 Subject: [PATCH] more descriptive comment --- recws.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recws.go b/recws.go index 2fc6ca9..60eeb91 100644 --- a/recws.go +++ b/recws.go @@ -37,7 +37,8 @@ type RecConn struct { // Proxy specifies the proxy function for the dialer // defaults to ProxyFromEnvironment Proxy func(*http.Request) (*url.URL, error) - TLSClientConfig *tls.Config + // Client TLS config to use on reconnect + TLSClientConfig *tls.Config // SubscribeHandler fires after the connection successfully establish. SubscribeHandler func() error // KeepAliveTimeout is an interval for sending ping/pong messages