function ReadBuffer(const Buffer: TValueArr; Offset, Count: integer): integer;



Call ReadBuffer to read Count bytes from the body of the response from the Web server into Buffer. ReadBuffer returns bytes count that was actually read.

Using this method, the resulting content can be read in a non-bloking mode. This is especially important when the body of a message is returned by the server as a series of chunk. In this case, the method will return a result as it receives pieces of data without causing the calling stream to hang.


See also





SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support