mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 13:59:19 +08:00
7 lines
243 B
Dart
7 lines
243 B
Dart
import 'package:web_socket_channel/html.dart';
|
|
import 'package:web_socket_channel/web_socket_channel.dart';
|
|
|
|
Future<WebSocketChannel> connectWebSocket(Uri uri) async {
|
|
return HtmlWebSocketChannel.connect(uri, binaryType: BinaryType.list);
|
|
}
|