Skip to content

Commit 6977b3c

Browse files
committed
docs: add note about SSHSocket.connect() limitations for Flutter Web and Dart Web
1 parent 3b57dcd commit 6977b3c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ void main() async {
117117
}
118118
```
119119

120+
> Note: `SSHSocket.connect()` uses native TCP sockets (`dart:io`) and is not
121+
> available on Flutter Web / Dart Web. See [Web support](#web-support) below
122+
> for browser-compatible transport options.
123+
120124
> `SSHSocket` is an interface and it's possible to implement your own `SSHSocket` if you want to use a different underlying transport rather than standard TCP socket. For example WebSocket or Unix domain socket.
121125
122126
### Web support

0 commit comments

Comments
 (0)