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.
REST.Client.TRESTClient.UserAgent inherits from REST.Client.TCustomRESTClient.UserAgent. All content below this line refers to REST.Client.TCustomRESTClient.UserAgent.
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.