enhanced_ddp 1.2.4 enhanced_ddp: ^1.2.4 copied to clipboard
This is a DDP protocol implementation for Flutter/Dart to interact with Meteor Framework.
import 'package:enhanced_ddp/enhanced_ddp.dart';
void main() async {
DdpClient client =
DdpClient("meteor", "ws://localhost:3000/websocket", "meteor");
client.connect();
client.addStatusListener((status) {
if (status == ConnectStatus.connected) {
print('I am connected!');
}
});
}