AsyncMysqlConnectionOptions
This class holds the Connection Options that MySQL client will use to establish a connection
The AsyncMysqlConnectionOptions will be passed to
AsyncMysqlClient::connectWithOpts().
Guides
Interface Synopsis
class AsyncMysqlConnectionOptions {...}
Public Methods
->enableChangeUser(): void->enableDelayedResetConn(): void->enableResetConnBeforeClose(): void->setConnectAttempts(int $attempts): void->setConnectTcpTimeout(int $timeout): void->setConnectTimeout(int $timeout): void->setConnectionAttributes(darray<string> $attrs): void->setQueryTimeout(int $timeout): void->setSSLOptionsProvider(?MySSLContextProvider $ssl_context): void->setServerCertValidation(string $extensions = '', string $values = ''): void->setSniServerName(string $sni_server_name): void->setTotalTimeout(int $timeout): void