Skip to content

Commit e1533c4

Browse files
perlatusnex3
authored andcommitted
Add http package prefix for import consistency (#111)
In the example, `Client` and `BaseClient` are package qualified, but `BaseRequest` and `StreamedResponse` aren't.
1 parent ce2bdc6 commit e1533c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class UserAgentClient extends http.BaseClient {
6363
6464
UserAgentClient(this.userAgent, this._inner);
6565
66-
Future<StreamedResponse> send(BaseRequest request) {
66+
Future<http.StreamedResponse> send(http.BaseRequest request) {
6767
request.headers['user-agent'] = userAgent;
6868
return _inner.send(request);
6969
}

0 commit comments

Comments
 (0)