SshChannel.write

SshResult write(const(ubyte)[] data)

Writes data to the channel. May accept fewer bytes than requested (partial write); the accepted prefix is transmitted by the session and must not be resubmitted by the caller.

Parameters

dataData to write; only an accepted prefix is consumed.

Returns

Accepted byte count and progress, or error details.