REST.Client.TRESTClient.Params

From RAD Studio API Documentation
Jump to: navigation, search

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:

  1. Transient parameters.
  2. Parameters supplied by a request.
  3. 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.

See Also