The socket handle.
Callback function.
Optional
tag: anyOptional developer supplied value.
Optional
Callback will be triggered when the TCP channel is connected to the peer.
For tls or HTTPS socket, handshakes still need to be performed, which may fail. When handshake succeeds, "ready" callback will be called.
Generated using TypeDoc
Set "connected" handler.