- Roland Smith
- PowerBuilder
- Tuesday, 2 August 2022 04:59 PM UTC
PB 2019-R3.
I have a desktop app calling web services. Initially I was using WinHTTP API function calls to communicate with the server. This method works great.
I decided to switch to the built-in HttpClient object. I'm using PostDataStart/PostData/PostDataEnd to send the request data.
A customer reports that clients using a VPN (FortiClient) are much slower using the HttpClient object verses my WinHTTP object.
Before I reverse the change, I'm wondering if there are any suggestions on resolving this issue. The application makes multiple calls using the same instance of HttpClient. I'm not sure if it is fast the first time and slow after that.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.