type
TScData = procedure(Sender: TObject; ChannelInfo: TScSSHChannelInfo; const Buffer: TBytes; const Offset, Count: integer) of object;
property OnDataToClient: TScData;
Description
Occurs after a data chunk is received from the host with which connection is established in the current channel, and before the data will be encrypted and sent to the SSH client.
Parameters:
• | Sender - the object whose event handler is called; |
• | ChannelInfo - holds the information about the current SSH channel; |
• | Buffer - points to the buffer that contains data to be transferred; |
• | Offset - zero-based byte offset in Buffer that indicates location of the data to be encrypted and transferred; |
• | Count - length of the data to be transferred. |
See Also