Some call methods needs to be pre-defined to allow specific behaviour by resgate and resclient.
Methods
new
Used for creating new resources.
Needed to be defined with the return value containing the newly created rid. This way a web resource request can return with a 201 Created and a Location. For the RES client protocol, the response may contain the newly created rid and all its linked resources.
set
Used for setting model properties.
Has already been implemented, but needs to be more clearly defined in resprotocol documentation.
Issue
Some call methods needs to be pre-defined to allow specific behaviour by resgate and resclient.
Methods
new
Used for creating new resources. Needed to be defined with the return value containing the newly created rid. This way a web resource request can return with a 201 Created and a Location. For the RES client protocol, the response may contain the newly created rid and all its linked resources.
set
Used for setting model properties. Has already been implemented, but needs to be more clearly defined in resprotocol documentation.