AsyncMysqlConnectResult
Provides the result information for when the connection to the MySQL client is made successfully
This class is instantiated through a call from the connection object
via AsyncMysqlConnection::connectResult()
.
Guides
Interface Synopsis
final class AsyncMysqlConnectResult extends AsyncMysqlResult {...}
Public Methods
->clientStats(): AsyncMysqlClientStats
Returns the MySQL client statistics at the moment the connection was established->elapsedMicros(): int
The total time for the establishment of the MySQL connection, in microseconds->endTime(): float
The end time of the connection operation, in seconds since epoch->startTime(): float
The start time for the connection operation, in seconds since epoch
Public Methods (AsyncMysqlResult
)
->getSslCertCn(): string
Returns Common Name attribute of the TLS certificate presented by MySQL server->getSslCertExtensions(): Vector<string>
Returns values from the selected cert extensions of the TLS certificate presented by MySQL server->getSslCertSan(): Vector<string>
Returns Server Alternative Names attribute of the TLS certificate presented by MySQL server->isSslCertValidationEnforced(): bool
Returns a boolean value indicating if server cert validation was enforced for this connection->sslSessionReused(): bool
Returns whether or not the current connection reused the SSL session from another SSL connection