mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-11 01:36:39 +00:00
Add SendEof to IChannel.
This commit is contained in:
@@ -78,5 +78,11 @@ namespace Renci.SshNet.Channels
|
||||
/// </summary>
|
||||
/// <param name="data">The payload to send.</param>
|
||||
void SendData(byte[] data);
|
||||
|
||||
/// <summary>
|
||||
/// Sends a SSH_MSG_CHANNEL_EOF message to the remote server.
|
||||
/// </summary>
|
||||
/// <exception cref="InvalidOperationException">The channel is closed.</exception>
|
||||
void SendEof();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user