procedure LoadFromCache(const Data: TBytes); overload;
procedure LoadFromCache(const Data: string; StrEncoding: Encoding = nil); overload;
procedure LoadFromCache(const Stream: TStream); overload;
Description
Loads the response body with user-provided data. Use this method within the TScRestRequest.OnGetFromCache event to populate the response from a local cache source.
See also