10 lines
344 B
Dart
10 lines
344 B
Dart
import 'src/sockets_stub.dart'
|
|
if (dart.library.html) 'src/sockets_html.dart'
|
|
if (dart.library.io) 'src/sockets_io.dart';
|
|
|
|
class GetSocket extends BaseWebSocket {
|
|
GetSocket(String url,
|
|
{Duration ping = const Duration(seconds: 5), bool allowSelfSigned = true})
|
|
: super(url, ping: ping, allowSelfSigned: allowSelfSigned);
|
|
}
|