Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new run_client and run_server methods for already-connected sockets
This commit adds top-level functions run_client() and run_server() for running an AsyncSSH client or sevrer on an already-connected socket. This can also be done via the new `sock` argument to connect() and connect_reverse(), but these new method names read a little better and automatically enforce restrictions about what arguments are mutually exclusive with the `sock` argument. This commit also fixes a couple of copy/paste errors in comments, and adds some additional unit tests.
- Loading branch information
Showing
5 changed files
with
190 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters