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

Unified Diff: lib/src/web_socket/compatible.dart

Issue 1763583003: Deprecate WebSocketChannel. (Closed) Base URL: git@github.com:dart-lang/http_parser@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/web_socket/channel.dart ('k') | lib/src/web_socket/deprecated.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/web_socket/compatible.dart
diff --git a/lib/src/web_socket/deprecated.dart b/lib/src/web_socket/compatible.dart
similarity index 95%
rename from lib/src/web_socket/deprecated.dart
rename to lib/src/web_socket/compatible.dart
index c2162d7be9955b59f02a04fa66e686e012b1918f..35e7d0e364112356783e85c313baeed5b80338a9 100644
--- a/lib/src/web_socket/deprecated.dart
+++ b/lib/src/web_socket/compatible.dart
@@ -7,9 +7,12 @@ import 'dart:async';
import 'package:crypto/crypto.dart';
import '../copy/web_socket_impl.dart';
-import 'channel.dart';
-/// Use [WebSocketChannel] instead.
+/// This class is deprecated.
+///
+/// Use the [`web_socket_channel`][web_socket_channel] package instead.
+///
+/// [web_socket_channel]: https://pub.dartlang.org/packages/web_socket_channel
@Deprecated("Will be removed in 3.0.0.")
abstract class CompatibleWebSocket implements Stream, StreamSink {
/// The interval for sending ping signals.
« no previous file with comments | « lib/src/web_socket/channel.dart ('k') | lib/src/web_socket/deprecated.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698