ChalonaMSQLConnection constructor
ChalonaMSQLConnection({
- required String host,
Implementation
ChalonaMSQLConnection({required String host}) : super(host: host) {
Uri uri = Uri.parse(host);
this.host = uri.host;
database = uri.pathSegments.first;
port = uri.port == -1 ? 1433 : uri.port;
user = uri.userInfo.split(':').first;
_pass = uri.userInfo.split(':').last;
// _connect().then((n) {
// ws.onSubscript((channel) {
// // n.channels[channel].listen((d) {
// // ws.listen(ChalonaSocketIOData(channel, {}));
// // });
// });
// ws.start();
// });
}