RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSoapConnection.Agent Property

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

Pascal
property Agent: string;
C++
__property AnsiString Agent;

Use Agent to supply HTTP messages generated by the SOAP 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!