17 lines
556 B
Dart
17 lines
556 B
Dart
/// Flutter-compatible client library for the Angel framework.
|
|
library angel_client.flutter;
|
|
|
|
import 'dart:async';
|
|
import 'package:http/http.dart' as http;
|
|
import 'base_angel_client.dart';
|
|
export 'angel_client.dart';
|
|
|
|
/// Queries an Angel server via REST.
|
|
class Rest extends BaseAngelClient {
|
|
Rest(String basePath) : super(new http.Client(), basePath);
|
|
|
|
@override
|
|
Stream<String> authenticateViaPopup(String url, {String eventName: 'token'}) {
|
|
throw new UnimplementedError('Opening popup windows is not supported in the `dart:io` client.');
|
|
}
|
|
}
|