EMS.ResourceAPI.TEndpointRequestBody
Delphi
TEndpointRequestBody = class abstract(TEndpointRequestBodyBase)
C++
class PASCALIMPLEMENTATION TEndpointRequestBody : public TEndpointRequestBodyBase
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | EMS.ResourceAPI.pas EMS.ResourceAPI.hpp |
EMS.ResourceAPI | EMS.ResourceAPI |
Description
Holds the body of a request.
ContentType indicates the type of content of the body. You can use the following methods to read the content of the body:
Get- Method | TryGet- Method | Output Type |
---|---|---|
The methods in the Get- Method column raise an EEMSEndpointError exception if they cannot return the body, either because it is empty or because it is not in the required format. The methods in the TryGet- Method column receive an output parameter and return False
if they cannot fill the output parameter with the content of the body.