Implement Webuntis HTTP Api and Display

This commit is contained in:
2023-02-15 20:33:05 +01:00
parent 7432972b3c
commit 2b6dc8e3e6
42 changed files with 746 additions and 287 deletions

View File

@ -0,0 +1,10 @@
import 'package:web_socket_channel/web_socket_channel.dart';
class SocketConnection {
static final _connection = WebSocketChannel.connect(
Uri.parse('ws://localhost:1234'),
);
static var read = _connection.stream.asBroadcastStream();
static var write = _connection.sink;
}