Close a connection. If there is queued data waiting to be sent, wait until it is sent before disconnecting. The disconnect handler will be called when all data has been flushed.
See Implementation
Close a connection. If there is queued data waiting to be sent, wait until it is sent before disconnecting. The disconnect handler will be called when all data has been flushed.