REST.Client.TRESTClient.Params
Delphi
property Params: TRESTRequestParameterList read FParams write SetParams;
C++
__property Params;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTClient |
Description
Specifies a container for all HTTP parameters to be passed with each request.
REST.Client.TRESTClient.Params inherits from REST.Client.TCustomRESTClient.Params. All content below this line refers to REST.Client.TCustomRESTClient.Params.
Specifies a container for all HTTP parameters to be passed with each request.
The parameter priorities are as follows, from the highest to the lowest priority:
- Transient parameters.
- Parameters supplied by a request.
- Parameters supplied by a client.
To clarify, consider the following scenario: there is a transient parameter and a request parameter, which have the same name. In this case, the transient parameter overrides the request parameter.