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

TScRestRequest.OnGetFromCache

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