EldoS | Feel safer!

Software components for data protection, secure storage and transfer

How to set up UserAgent in TElHTTPSClient class in Pascal

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#27828
Posted: 01/06/2014 06:29:31
by Gabrie Marcelo (Standard support level)
Joined: 07/06/2013
Posts: 16

Hi guys,

I've created a TElHTTPSClient obj to make a http request and would like to specify a UserAgent string. How to do this in Pascal as the RequestUserAgent property seems not to be implemented for such language per help docs. thanks,
#27829
Posted: 01/06/2014 06:32:32
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

This can be done using TElHTTPSClient.RequestParameters.UserAgent property.
#27830
Posted: 01/06/2014 07:23:46
by Gabrie Marcelo (Standard support level)
Joined: 07/06/2013
Posts: 16

Nice! thanks Vsevolod

Reply

Statistics

Topic viewed 753 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!