REST.Client.TRESTClient.UserAgent
Delphi
property UserAgent: string read GetUserAgent write SetUserAgent stored UserAgentIsStored default 0;
C++
__property UserAgent = {default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | REST.Client.pas REST.Client.hpp |
REST.Client | TRESTClient |
Description
User-Agent field of the request, which specifies information about the user agent that originates the request, that is, information about your application. {{#multireplace:REST.Client.TRESTClient.UserAgent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:REST.Client.TCustomRESTClient.UserAgent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:REST.Client.TCustomRESTClient.UserAgent|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
User-Agent field of the request, which specifies information about the user agent that originates the request, that is, information about your application.
The default value is "Embarcadero RESTClient/<version>". The specification explains the syntax that you can use for the value of this field.