Datasnap.Win.SConnect.TWebConnection.Agent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Agent: string read FAgent write FAgent;

C++

__property System::UnicodeString Agent = {read=FAgent, write=FAgent};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Datasnap.Win.SConnect TWebConnection

Description

Provides the value of the User-Agent header for HTTP messages to the server.

Use Agent to supply HTTP messages generated by the Web connection component with the name of your application. This name is included as a User-Agent header. The User-Agent header is an optional string that describes the application generating the HTTP message.

See Also