OnSubsystem is called when the client calls a well-known Subsystem (e.g. sftp). 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
( requestID uint64, subsystem string, )
| 429 | // requestID is an incrementing number uniquely identifying this request within the channel. |
| 430 | // subsystem is the name of the subsystem to be launched (e.g. sftp) |
| 431 | OnSubsystem( |
| 432 | requestID uint64, |
| 433 | subsystem string, |
| 434 | ) error |
no outgoing calls
no test coverage detected