REST.Client.TCustomRESTClient.UserAgent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UserAgent: string read GetUserAgent write SetUserAgent stored UserAgentIsStored;

C++

__property System::UnicodeString UserAgent = {read=GetUserAgent, write=SetUserAgent, stored=UserAgentIsStored};

Properties

Type Visibility Source Unit Parent
property public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTClient

Description

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.

See Also