TScRestResponse
procedure ReadToStream(const Stream: TStream);
Description
Writes the response body to the specified stream. The Stream object must be created before calling this method.
See also
ReadAsBytes
ReadAsString