Skip to content

Commit fa0af10

Browse files
authored
Fix head, get, post, etc. links in Client docs (#703)
Fixes #698
1 parent 6b3e3f3 commit fa0af10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/client.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import 'dart:convert';
66
import 'dart:typed_data';
77

8+
import '../http.dart' as http;
9+
810
import 'base_client.dart';
911
import 'base_request.dart';
1012
import 'client_stub.dart'
@@ -18,7 +20,8 @@ import 'streamed_response.dart';
1820
/// connections across multiple requests to the same server.
1921
///
2022
/// If you only need to send a single request, it's usually easier to use
21-
/// [head], [get], [post], [put], [patch], or [delete] instead.
23+
/// [http.head], [http.get], [http.post], [http.put], [http.patch], or
24+
/// [http.delete] instead.
2225
///
2326
/// When creating an HTTP client class with additional functionality, you must
2427
/// extend [BaseClient] rather than [Client]. In most cases, you can wrap

0 commit comments

Comments
 (0)