Index: pkg/analysis_server/lib/http_server.dart |
diff --git a/pkg/analysis_server/lib/http_server.dart b/pkg/analysis_server/lib/http_server.dart |
index 6b66383713beebb4d0599cb039cf88d365cbd00b..029dc13eba26faa92a6aadae33b323caa786c9aa 100644 |
--- a/pkg/analysis_server/lib/http_server.dart |
+++ b/pkg/analysis_server/lib/http_server.dart |
@@ -129,7 +129,7 @@ class HttpAnalysisServer { |
* running an analysis server on a [WebSocket]-based communication channel. |
*/ |
void _handleWebSocket(WebSocket socket) { |
- analysisServer = new AnalysisServer(new WebSocketChannel(socket)); |
+ analysisServer = new AnalysisServer(new WebSocketServerChannel(socket)); |
_initializeHandlers(analysisServer); |
if (getHandler != null) { |
getHandler.server = analysisServer; |