We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0e1cf commit ffb4438Copy full SHA for ffb4438
pkgs/http/lib/src/base_request.dart
@@ -6,7 +6,7 @@ import 'dart:collection';
6
7
import 'package:meta/meta.dart';
8
9
-import '../http.dart' show get;
+import '../http.dart' show ClientException, get;
10
import 'base_client.dart';
11
import 'base_response.dart';
12
import 'byte_stream.dart';
@@ -70,7 +70,7 @@ abstract class BaseRequest {
70
/// The maximum number of redirects to follow when [followRedirects] is true.
71
///
72
/// If this number is exceeded the [BaseResponse] future will signal a
73
- /// `RedirectException`. Defaults to 5.
+ /// [ClientException]. Defaults to 5.
74
int get maxRedirects => _maxRedirects;
75
int _maxRedirects = 5;
76
0 commit comments