Datasnap.Win.SConnect.TWebConnection.Agent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: TWebConnection

Delphi

property Agent: string read FAgent write FAgent;

C++

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

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