property OnDataToClient: TScDataToClientEvent;
type
TScDataToClientEvent = procedure (Sender: TObject; ServerConnection: TScSSLServerConnection; const Data; Offset, Count: integer) of object;
Description
Occurs when the SSL server sends data chunk to the client from the current connection. The event parameters hold the pointer to the data and its size.
Parameters:
| • | Sender - the object whose event handler is called; |
| • | ServerConnection - holds the information about the current SSL connection; |
| • | Data - points to the buffer that contains data to be transferred; |
| • | Offset - zero-based byte offset in Data that indicates location of the data to be encrypted and transferred; |
| • | Count - length of the data to be transferred. |