AsyncMysqlConnection::sslSessionReused

Returns whether or not the current connection reused the SSL session
from another SSL connection

Description

public function sslSessionReused(): bool;

The session is set by MySSLContextProvider.
Some cases, the server can deny the session that was set and the handshake
will create a new one, in those cases this function will return false.
If this connections isn't SSL, false will be returned as well.

Return Values

bool - true if this is a SSL connection and the SSL session was
reused; false otherwise.