platform/packages/mock_request/example/main.dart

9 lines
210 B
Dart
Raw Normal View History

import 'dart:async';
import 'package:mock_request/mock_request.dart';
Future<void> main() async {
var rq =
MockHttpRequest('GET', Uri.parse('/foo'), persistentConnection: false);
await rq.close();
}