REST.Types.TRESTObjectOwnership
Delphi
TRESTObjectOwnership = (ooCopy, ooREST, ooApp);
C++
enum DECLSPEC_DENUM TRESTObjectOwnership : unsigned char { ooCopy, ooREST, ooApp };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| enum | public | REST.Types.pas REST.Types.hpp |
REST.Types | REST.Types |
Description
Defines the ownership of the parameter object value (eg. stream).
ooCopy creates a copy of the assigning object.
ooREST is a library that owns the assigned object and it will destroy it when it is no more needed.
ooApp is the application that owns the assigned object.