AsyncMysqlConnection::isSSL

Returns whether or not the current connection was established as SSL based on client flag exchanged during handshake

public function isSSL(): bool;

Returns

  • bool - true if this is a SSL connection; false otherwise