Flush will perform a round trip to the server and return when it receives the internal reply.
()
| 5853 | // Flush will perform a round trip to the server and return when it |
| 5854 | // receives the internal reply. |
| 5855 | func (nc *Conn) Flush() error { |
| 5856 | return nc.FlushTimeout(10 * time.Second) |
| 5857 | } |
| 5858 | |
| 5859 | // Buffered will return the number of bytes buffered to be sent to the server. |
| 5860 | // FIXME(dlc) take into account disconnected state. |