You can see below the API reference of this module.
Creates a new instance of ShareTerm
.
- Object
options
: The options object: host
(String): The remote server host.
- ShareTerm The
ShareTerm
instance.
This is called internally after the client is connected.
- ShareTerm The
ShareTerm
instance.
Connects the client to the remote server.
- Object
options
: The options object. - Function
callback
: The callback function.
- ShareTerm The
ShareTerm
instance.
Creates a new terminal share session.
- Function
callback
: The callback function.
- ShareTerm The
ShareTerm
instance.
Connects the client to an existing terminal share session.
- Object
options
: An object containing the following fields: id
(String): The terminal share session id.stdout
(Stream): The output stream (default:process.stdout
).- Function
callback
: The callback function.
- ShareTerm The
ShareTerm
instance.