OnShell is called when the client requests a shell to be started. The implementation can return an error to reject the request. The implementation should send the IO handling into background. It should also respect the shutdown context on the Handler. This method MUST NOT block beyond initializing t
( requestID uint64, )
| 418 | // writeClose closes the stdout and stderr for writing. |
| 419 | // onExit is a callback to send the exit status back to the client. |
| 420 | OnShell( |
| 421 | requestID uint64, |
| 422 | ) error |
| 423 |
no outgoing calls