Add a switch to use WebSockets for web debug proxy (#54083)
diff --git a/packages/flutter_tools/lib/src/device.dart b/packages/flutter_tools/lib/src/device.dart index 85309ff..b5a54fb 100644 --- a/packages/flutter_tools/lib/src/device.dart +++ b/packages/flutter_tools/lib/src/device.dart
@@ -585,6 +585,7 @@ this.hostname, this.port, this.webEnableExposeUrl, + this.webUseSseForDebugProxy = true, this.webRunHeadless = false, this.webBrowserDebugPort, this.vmserviceOutFile, @@ -596,6 +597,7 @@ this.port, this.hostname, this.webEnableExposeUrl, + this.webUseSseForDebugProxy = true, this.webRunHeadless = false, this.webBrowserDebugPort, this.cacheSkSL = false, @@ -640,6 +642,7 @@ final String port; final String hostname; final bool webEnableExposeUrl; + final bool webUseSseForDebugProxy; /// Whether to run the browser in headless mode. ///