API:REST.Client.TCustomRESTRequest.TBody.Add
Delphi
procedure Add(const ABodyContent: string; AContentType: TRESTContentType = ctNone); overload;
procedure Add<T: class, constructor>(AObject: T; AOwnsObject: TRESTObjectOwnership = ooApp); overload;
procedure Add(AObject: TJsonObject; AOwnsObject: TRESTObjectOwnership = ooApp); overload;
procedure Add(ABodyContent: TStream; AContentType: TRESTContentType = ctNone;
AOwnsStream: TRESTObjectOwnership = ooCopy); overload;
C++
void __fastcall Add(const System::UnicodeString ABodyContent, Rest::Types::TRESTContentType AContentType = Rest::Types::TRESTContentType())/* overload */;
template<typename T> void __fastcall Add(T AObject, Rest::Types::TRESTObjectOwnership AOwnsObject = (Rest::Types::TRESTObjectOwnership)(0x2))/* overload */;
void __fastcall Add(System::Json::TJSONObject* AObject, Rest::Types::TRESTObjectOwnership AOwnsObject = (Rest::Types::TRESTObjectOwnership)(0x2))/* overload */;
void __fastcall Add(System::Classes::TStream* ABodyContent, Rest::Types::TRESTContentType AContentType = Rest::Types::TRESTContentType(), Rest::Types::TRESTObjectOwnership AOwnsStream = (Rest::Types::TRESTObjectOwnership)(0x0))/* overload */;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TBody |
説明
このトピックには現在ドキュメントが存在しません。「ノート」を利用してこのトピックの改良について話しあうことができます。