REST.Client.TCustomRESTRequest.DoPrepareRequestBody
Delphi
procedure DoPrepareRequestBody(AParamList: TRESTRequestParameterArray; AContentType: TRESTContentType; var ABodyStream: TStream; var ABodyStreamOwner: Boolean); virtual;
C++
virtual void __fastcall DoPrepareRequestBody(System::DynamicArray<TRESTRequestParameter*> AParamList, Rest::Types::TRESTContentType AContentType, System::Classes::TStream* &ABodyStream, bool &ABodyStreamOwner);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTRequest |
説明
指定されたパラメータ リストが格納されているストリームを ABodyStream
に設定します。
指定されたパラメータ リストの内容の種類に応じて、結果として得られるストリームは、キーと値のペアのリストかHTTP マルチパート構造体のどちらかになります。
ABodyStream
を破棄するのは、DoPrepareRequestBody の呼び出し側の責任です。