Skip to content

Commit 38d4f3d

Browse files
committed
Add SendEof to IChannel.
1 parent e0a795e commit 38d4f3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Renci.SshClient/Renci.SshNet/Channels/IChannel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,11 @@ internal interface IChannel : IDisposable
7878
/// </summary>
7979
/// <param name="data">The payload to send.</param>
8080
void SendData(byte[] data);
81+
82+
/// <summary>
83+
/// Sends a SSH_MSG_CHANNEL_EOF message to the remote server.
84+
/// </summary>
85+
/// <exception cref="InvalidOperationException">The channel is closed.</exception>
86+
void SendEof();
8187
}
8288
}

0 commit comments

Comments
 (0)