MCPcopy
hub / github.com/nats-io/nats.go / Close

Method Close

enc.go:283–285  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

281//
282// Deprecated: Encoded connections are no longer supported.
283func (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

Calls

no outgoing calls