forked from baron/baron-sso
8 lines
258 B
Dart
8 lines
258 B
Dart
import 'package:http/http.dart' as http;
|
|
import 'http_client_stub.dart'
|
|
if (dart.library.html) 'http_client_web.dart';
|
|
|
|
http.Client createHttpClient({bool withCredentials = false}) {
|
|
return httpClientFactory.create(withCredentials: withCredentials);
|
|
}
|