Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(22)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: recipes/dart_io/pkg_http/bin/making_a_get_request.dart
Issue
99333012
:
The first few short pkg:http examples (Closed)
Base URL: https://github.com/dart-lang/cookbook.git@master
Patch Set:
Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
recipes/dart_io/pkg_http/bin/adding_custom_headers.dart
recipes/dart_io/pkg_http/bin/getting_response_content_in_binary_format.dart
recipes/dart_io/pkg_http/bin/getting_the_response_headers.dart
recipes/dart_io/pkg_http/bin/handling_an_httprequest_error.dart
recipes/dart_io/pkg_http/bin/making_a_get_request.dart
recipes/dart_io/pkg_http/bin/making_a_post_request.dart
recipes/dart_io/pkg_http/bin/making_multiple_requests_to_the_same_server.dart
recipes/dart_io/pkg_http/bin/reading_the_response_body.dart
recipes/dart_io/pkg_http/pubspec.yaml
View unified diff
|
Download patch
« recipes/dart_io/pkg_http/bin/handling_an_httprequest_error.dart
('K') |
« recipes/dart_io/pkg_http/bin/handling_an_httprequest_error.dart
('k') |
recipes/dart_io/pkg_http/bin/making_a_post_request.dart »
('j') |
recipes/dart_io/pkg_http/bin/making_a_post_request.dart »
('J')
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
import 'package:http/http.dart' as http;
2
3
void main() {
4
var url = 'http://httpbin.org/';
5
http.get(url).then((response) {
6
print("Response status: ${response.statusCode}");
7
print("Response body: ${response.body}");
8
});
9
}
OLD
NEW
« recipes/dart_io/pkg_http/bin/handling_an_httprequest_error.dart
('K') |
« recipes/dart_io/pkg_http/bin/handling_an_httprequest_error.dart
('k') |
recipes/dart_io/pkg_http/bin/making_a_post_request.dart »
('j') |
recipes/dart_io/pkg_http/bin/making_a_post_request.dart »
('J')
Issue 99333012: The first few short pkg:http examples (Closed)
Created 7 years ago by shailentuli
Modified 7 years ago
Reviewers: Anders Johnsen, soren, Søren Gjesse
Base URL: https://github.com/dart-lang/cookbook.git@master
Comments: 18
This is Rietveld
408576698