REST.Client.TCustomRESTRequest.DoPrepareRequestBody

提供: RAD Studio API Documentation
移動先: 案内検索

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 の呼び出し側の責任です。

関連項目