Close will close the connection to the server. This call will release all blocking calls, such as Flush(), etc. Deprecated: Encoded connections are no longer supported.
()
| 281 | // |
| 282 | // Deprecated: Encoded connections are no longer supported. |
| 283 | func (c *EncodedConn) Close() { |
| 284 | c.Conn.Close() |
| 285 | } |
| 286 | |
| 287 | // Drain will put a connection into a drain state. All subscriptions will |
| 288 | // immediately be put into a drain state. Upon completion, the publishers |
no outgoing calls