Index: sdk/lib/io/websocket.dart |
diff --git a/sdk/lib/io/websocket.dart b/sdk/lib/io/websocket.dart |
index 60414da3f03702036e7ab8ea3c12d72281e9a014..599e295c60ac92923dc620303830b986b8522f96 100644 |
--- a/sdk/lib/io/websocket.dart |
+++ b/sdk/lib/io/websocket.dart |
@@ -147,6 +147,9 @@ abstract class WebSocket implements Stream, StreamSink { |
* - `upgrade` |
* |
* If any of these are passed in the `headers` map they will be ignored. |
+ * |
+ * If the `url` contains user information this will be passed as basic |
+ * authentication when setting up the connection. |
*/ |
static Future<WebSocket> connect(String url, |
{Iterable<String> protocols, |