2
0

more descriptive comment

This commit is contained in:
Roman Vasilyev
2019-11-28 10:18:45 -08:00
parent 0a0756e609
commit 8f5f157d7b
+2 -1
View File
@@ -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