Skip to content

Commit e08f4f6

Browse files
committedOct 27, 2024·
use http_retry
1 parent 5c4525e commit e08f4f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Simple and powerful HTTP client for Flutter and Dart application.
99
import 'dart:io';
1010
1111
import 'package:http/http.dart' as http;
12-
import 'package:http/retry.dart' as httpRetry;
12+
import 'package:http/retry.dart' as http_retry;
1313
import 'package:http_client_hoc081098/http_client_hoc081098.dart';
1414
1515
import 'user.dart';
@@ -24,7 +24,7 @@ void main() async {
2424
),
2525
);
2626
27-
final innerClient = httpRetry.RetryClient(
27+
final innerClient = http_retry.RetryClient(
2828
http.Client(),
2929
retries: 3,
3030
when: (response) {

‎example/lib/http_client_hoc081098_example.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'dart:io';
22

33
import 'package:http/http.dart' as http;
4-
import 'package:http/retry.dart' as httpRetry;
4+
import 'package:http/retry.dart' as http_retry;
55
import 'package:http_client_hoc081098/http_client_hoc081098.dart';
66

77
import 'user.dart';
@@ -16,7 +16,7 @@ void main() async {
1616
),
1717
);
1818

19-
final innerClient = httpRetry.RetryClient(
19+
final innerClient = http_retry.RetryClient(
2020
http.Client(),
2121
retries: 3,
2222
when: (response) {

0 commit comments

Comments
 (0)
Please sign in to comment.