more descriptive comment
This commit is contained in:
@@ -37,7 +37,8 @@ type RecConn struct {
|
|||||||
// Proxy specifies the proxy function for the dialer
|
// Proxy specifies the proxy function for the dialer
|
||||||
// defaults to ProxyFromEnvironment
|
// defaults to ProxyFromEnvironment
|
||||||
Proxy func(*http.Request) (*url.URL, error)
|
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 fires after the connection successfully establish.
|
||||||
SubscribeHandler func() error
|
SubscribeHandler func() error
|
||||||
// KeepAliveTimeout is an interval for sending ping/pong messages
|
// KeepAliveTimeout is an interval for sending ping/pong messages
|
||||||
|
|||||||
Reference in New Issue
Block a user