diff --git a/lib/src/channel.dart b/lib/src/channel.dart index 4cd368c..0344d1d 100644 --- a/lib/src/channel.dart +++ b/lib/src/channel.dart @@ -13,9 +13,9 @@ import 'copy/web_socket_impl.dart'; /// A [StreamChannel] that communicates over a WebSocket. /// -/// This is implemented by classes that use `dart:io` and `dart:html`. The [new -/// WebSocketChannel] constructor can also be used on any platform to connect to -/// use the WebSocket protocol over a pre-existing channel. +/// This is implemented by classes that use `dart:io` and `dart:html`. The +/// [new WebSocketChannel] constructor can also be used on any platform to +/// connect to use the WebSocket protocol over a pre-existing channel. /// /// All implementations emit [WebSocketChannelException]s. These exceptions wrap /// the native exception types where possible. diff --git a/lib/src/copy/web_socket_impl.dart b/lib/src/copy/web_socket_impl.dart index 8996619..e231ee3 100644 --- a/lib/src/copy/web_socket_impl.dart +++ b/lib/src/copy/web_socket_impl.dart @@ -23,11 +23,6 @@ import 'io_sink.dart'; import 'web_socket.dart'; const String webSocketGUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; -const String _webSocketGUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"; -const String _clientNoContextTakeover = "client_no_context_takeover"; -const String _serverNoContextTakeover = "server_no_context_takeover"; -const String _clientMaxWindowBits = "client_max_window_bits"; -const String _serverMaxWindowBits = "server_max_window_bits"; final _random = new Random();