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

Side by Side Diff: lib/src/server.dart

Issue 1577363003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/json_rpc_2.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « lib/src/peer.dart ('k') | lib/src/two_way_stream.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 json_rpc_2.server;
6
7 import 'dart:async'; 5 import 'dart:async';
8 import 'dart:collection'; 6 import 'dart:collection';
9 import 'dart:convert'; 7 import 'dart:convert';
10 8
11 import 'package:stack_trace/stack_trace.dart'; 9 import 'package:stack_trace/stack_trace.dart';
12 10
13 import '../error_code.dart' as error_code; 11 import '../error_code.dart' as error_code;
14 import 'exception.dart'; 12 import 'exception.dart';
15 import 'parameters.dart'; 13 import 'parameters.dart';
16 import 'two_way_stream.dart'; 14 import 'two_way_stream.dart';
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 return syncFuture(() => iterator.current(params)).catchError((error) { 245 return syncFuture(() => iterator.current(params)).catchError((error) {
248 if (error is! RpcException) throw error; 246 if (error is! RpcException) throw error;
249 if (error.code != error_code.METHOD_NOT_FOUND) throw error; 247 if (error.code != error_code.METHOD_NOT_FOUND) throw error;
250 return _tryNext(); 248 return _tryNext();
251 }); 249 });
252 } 250 }
253 251
254 return _tryNext(); 252 return _tryNext();
255 } 253 }
256 } 254 }
OLDNEW
« no previous file with comments | « lib/src/peer.dart ('k') | lib/src/two_way_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698