REST.Client.TRESTRequestParameter.SetStream
Delphi
procedure SetStream(const AValue: TStream; AOwnership: TRESTObjectOwnership = ooCopy);
C++
void __fastcall SetStream(System::Classes::TStream* const AValue, Rest::Types::TRESTObjectOwnership AOwnership = (Rest::Types::TRESTObjectOwnership)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTRequestParameter |
Description
Sets the stream value for body parameters.
The AValue
is a stream to assign to the parameter.
The AOwnership
defines the ownership of the stream. For more information see TRESTObjectOwnership.