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

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

Issue 1580233004: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/http_parser@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/scan.dart ('k') | test/http_date_test.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 http_parser.web_socket;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 import 'package:crypto/crypto.dart'; 7 import 'package:crypto/crypto.dart';
10 8
11 import 'copy/web_socket_impl.dart'; 9 import 'copy/web_socket_impl.dart';
12 10
13 /// An implementation of the WebSocket protocol that's not specific to "dart:io" 11 /// An implementation of the WebSocket protocol that's not specific to "dart:io"
14 /// or to any particular HTTP API. 12 /// or to any particular HTTP API.
15 /// 13 ///
16 /// Because this is HTTP-API-agnostic, it doesn't handle the initial [WebSocket 14 /// Because this is HTTP-API-agnostic, it doesn't handle the initial [WebSocket
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 /// An exception thrown by [CompatibleWebSocket]. 103 /// An exception thrown by [CompatibleWebSocket].
106 class CompatibleWebSocketException implements Exception { 104 class CompatibleWebSocketException implements Exception {
107 final String message; 105 final String message;
108 106
109 CompatibleWebSocketException([this.message]); 107 CompatibleWebSocketException([this.message]);
110 108
111 String toString() => message == null 109 String toString() => message == null
112 ? "CompatibleWebSocketException" : 110 ? "CompatibleWebSocketException" :
113 "CompatibleWebSocketException: $message"; 111 "CompatibleWebSocketException: $message";
114 } 112 }
OLDNEW
« no previous file with comments | « lib/src/scan.dart ('k') | test/http_date_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698