Returns whether or not the current connection reused the SSL session from another SSL connection
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
If this connections isn't SSL,
false will be returned as well.
trueif this is a SSL connection and the SSL session was reused;