ConnectionSettings.socket constructor
ConnectionSettings.socket({})
Implementation
factory ConnectionSettings.socket(
{required String path,
String? user,
String? password,
String? db,
bool useCompression = false,
bool useSSL = false,
int maxPacketSize = 16 * 1024 * 1024,
Duration timeout = const Duration(seconds: 30),
int characterSet = CharacterSet.UTF8MB4}) =>
ConnectionSettings(
host: path,
user: user,
password: password,
db: db,
useCompression: useCompression,
useSSL: useSSL,
maxPacketSize: maxPacketSize,
timeout: timeout,
characterSet: characterSet);