TcpConnection.onConnect
Set the connect callback.
Fires once when the TLS/TCP handshake completes successfully. Thread affinity: event loop thread only. Non-reentrant.
Parameters
callback | Callback invoked when connection is established. |
Set the connect callback.
Fires once when the TLS/TCP handshake completes successfully. Thread affinity: event loop thread only. Non-reentrant.
callback | Callback invoked when connection is established. |