#1 2017-07-12 10:13:26

ivanilsonpacheco
Member
Registered: 2017-06-20
Posts: 3

TSQLHttpClient Connections

Hello, I'm new on mORMot and I'd like to know which is the best way to manage httpclient connections. Every time I do something like insert, update or retrieve I use

TSQLHttpClientWinHTTP.Create('localhost','888',aModel);

but I know this isn't the best way to do it, how can I reduce this work?

Offline

#2 2017-07-12 11:18:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,253
Website

Re: TSQLHttpClient Connections

Keep the TSQLHttpClientWinHTTP instance alive on the client side.

Offline

Board footer

Powered by FluxBB