TScOnGetNextChunkDataEvent = procedure (Sender: TObject; out Buffer: TValueArr; out Count: Integer) of object;
property OnGetNextChunkData: TScOnGetNextChunkDataEvent;
When writing request data to the HTTP server (that is performed by the GetResponse method) TScHttpWebRequest gets data from the OnGetNextChunkData event handler in blocks of size specified in the SendBlockSize property and sends this chunk to the server. Set the Count parameter to 0 to indicate that all data has been transferred. The size of request data in bytes can be also specified in the ContentLength property.