We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54146b2 commit de1f873Copy full SHA for de1f873
pkgs/cupertino_http/lib/src/cupertino_web_socket.dart
@@ -274,8 +274,9 @@ class CupertinoWebSocket implements WebSocket {
274
if (code != null) {
275
reason = reason ?? '';
276
await Future<void>.delayed(const Duration(seconds: 5));
277
- print(
278
- '${DateTime.now().millisecondsSinceEpoch / 1000.0} cancelWithCloseCode($code, $reason)');
+ print('${DateTime.now().millisecondsSinceEpoch / 1000.0} '
+ 'cancelWithCloseCode($code, $reason) '
279
+ '${_task.state} ${_task.error}');
280
_task.cancelWithCloseCode(code, utf8.encode(reason).toNSData());
281
282
// Delay is 10 seconds!
0 commit comments