first commit

This commit is contained in:
Alzalia 2025-08-05 10:32:18 +02:00
commit faf67cc6d8
148 changed files with 6580 additions and 0 deletions

View file

@ -0,0 +1,10 @@
import 'package:web_socket_channel/web_socket_channel.dart';
class WebsocketClient {
static const String _host = "ws://bal.ninjdai.fr:3000";
Stream<dynamic> connect() {
final channel = WebSocketChannel.connect(Uri.parse("$_host/ws"));
return channel.stream;
}
}