MySQLPacketSSLRequest.createDefault constructor
MySQLPacketSSLRequest.createDefault({
- required MySQLPacketInitialHandshake initialHandshakePayload,
- required bool connectWithDB,
Implementation
factory MySQLPacketSSLRequest.createDefault({
required MySQLPacketInitialHandshake initialHandshakePayload,
required bool connectWithDB,
}) {
return MySQLPacketSSLRequest._(
capabilityFlags: _supportedCapabitilies,
maxPacketSize: 50 * 1024 * 1024,
characterSet: initialHandshakePayload.charset,
connectWithDB: connectWithDB,
);
}