REST.Client.TCustomRESTRequest.DoPrepareRequestBody
Delphi
procedure DoPrepareRequestBody(AParamList: TRESTRequestParameterArray; var ABodyStream: TStream); virtual;
C++
virtual void __fastcall DoPrepareRequestBody(System::DynamicArray<TRESTRequestParameter*> AParamList, System::Classes::TStream* &ABodyStream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTRequest |
Description
Fills ABodyStream
with a stream that contains the specified list of parameters.
Depending on the type of content of the specified list of parameters, the resulting stream may be either a list of key-value pairs or an HTTP Multi-Part structure.
The caller of DoPrepareRequestBody is responsible for destroying ABodyStream
.