internal void RegisterRequest <TRequest>(SshAgentCode requestCode) where TRequest : SshRequest => RegisterRequest((int)requestCode, typeof(TRequest));
internal SshRequest(SshAgentCode requestCode, SshAgent agent) { RequestCode = (int)requestCode; Agent = agent; }
internal void RegisterRequest(SshAgentCode requestCode, Type requestType) => RegisterRequest((int)requestCode, requestType);