- Add browser WebSocket import compatibility test - Add platform-specific WebSocket clients (io/web) - Add protobuf client/server web variants - Fix WS protobuf server for browser compatibility - Remove deprecated ws_protobuf_client.dart (consolidated into platform-specific files) - Update test and server files for websocket functionality
8 lines
195 B
Dart
8 lines
195 B
Dart
import 'package:proto_socket/proto_socket.dart';
|
|
|
|
void main() {
|
|
final types = <Type>[WsProtobufClient, PacketBase, Transport];
|
|
if (types.isEmpty) {
|
|
throw StateError('unreachable');
|
|
}
|
|
}
|