feat(transport): Improve socket transport mode selection and localization

This commit is contained in:
cogwheel0
2025-10-30 22:32:59 +05:30
parent f4561484f6
commit a00d64fc26
19 changed files with 441 additions and 50 deletions

View File

@@ -945,14 +945,14 @@ class AppLocalizationsEn extends AppLocalizations {
String get mode => 'Mode';
@override
String get transportModeAuto => 'Auto (Polling + WebSocket)';
String get transportModePolling => 'Polling fallback';
@override
String get transportModeWs => 'WebSocket only';
@override
String get transportModeAutoInfo =>
'More robust on restrictive networks. Upgrades to WebSocket when possible.';
String get transportModePollingInfo =>
'Falls back to HTTP polling when WebSocket is blocked. Upgrades to WebSocket when possible.';
@override
String get transportModeWsInfo =>