requestExit method

void requestExit()

Requests that the interactive session terminate (closing the remote shell).

Implementation

void requestExit() => _exitRequested = true;