Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I modified ssh_socket_js.dart and it maybe work for web.
However, I am having problems in:
dartssh2/lib/src/ssh_transport.dart
Lines 635 to 648 in ae54479
and
dartssh2/lib/src/ssh_client.dart
Lines 489 to 533 in ae54479
When run web with after modified, there is a case
messageId
return with value 30 and it seems that the case has not been handled. It caused the code to stop, when useSSHClient.shell
:dartssh2/lib/src/ssh_client.dart
Line 338 in ae54479
@xtyxtyx Can you help me to handle it. I don't know the logic of this part code.