Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: pkg/http/lib/src/client.dart

Issue 14426006: Rename dart:typeddata to dart:typed_data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/http/lib/src/byte_stream.dart ('k') | pkg/http/lib/src/request.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library client; 5 library client;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:typeddata'; 9 import 'dart:typed_data';
10 10
11 import 'base_client.dart'; 11 import 'base_client.dart';
12 import 'base_request.dart'; 12 import 'base_request.dart';
13 import 'io_client.dart'; 13 import 'io_client.dart';
14 import 'streamed_response.dart'; 14 import 'streamed_response.dart';
15 import 'response.dart'; 15 import 'response.dart';
16 import 'utils.dart'; 16 import 'utils.dart';
17 17
18 /// The interface for HTTP clients that take care of maintaining persistent 18 /// The interface for HTTP clients that take care of maintaining persistent
19 /// connections across multiple requests to the same server. If you only need to 19 /// connections across multiple requests to the same server. If you only need to
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 Future<Uint8List> readBytes(url, {Map<String, String> headers}); 90 Future<Uint8List> readBytes(url, {Map<String, String> headers});
91 91
92 /// Sends an HTTP request and asynchronously returns the response. 92 /// Sends an HTTP request and asynchronously returns the response.
93 Future<StreamedResponse> send(BaseRequest request); 93 Future<StreamedResponse> send(BaseRequest request);
94 94
95 /// Closes the client and cleans up any resources associated with it. It's 95 /// Closes the client and cleans up any resources associated with it. It's
96 /// important to close each client when it's done being used; failing to do so 96 /// important to close each client when it's done being used; failing to do so
97 /// can cause the Dart process to hang. 97 /// can cause the Dart process to hang.
98 void close(); 98 void close();
99 } 99 }
OLDNEW
« no previous file with comments | « pkg/http/lib/src/byte_stream.dart ('k') | pkg/http/lib/src/request.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698