mirror of https://github.com/CympleTech/ESSE.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
340 B
11 lines
340 B
import 'package:web_socket_channel/web_socket_channel.dart'; |
|
|
|
import 'MyWsChannel_unimpl.dart' |
|
if (dart.library.io) 'MyWsChannel_io.dart' |
|
if (dart.library.html) 'MyWsChannel_web.dart'; |
|
|
|
abstract class MyWsChannel { |
|
static Future<WebSocketChannel> connect(Uri uri) async { |
|
return MyWsChannelImpl.connect(uri); |
|
} |
|
}
|
|
|