EMS.ResourceAPI.TEndpointResponseBody.SetStream
Delphi
procedure SetStream(const AStream: TStream; const AContentType: string; AOwnsValue: Boolean); virtual; abstract;
C++
virtual void __fastcall SetStream(System::Classes::TStream* const AStream, const System::UnicodeString AContentType, bool AOwnsValue) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | TEndpointResponseBody |
Description
Fills the body with the specified data stream and internet media type.
AOwnsValue determines whether TEndpointResponseBody should destroy the specified stream object once TEndpointResponseBody no longer requires it (True) or TEndpointResponseBody should never destroy the specified stream object (False).