> Using HTTPCLI AsyncGET how main thread wait for the Async to download the
html code.
> Code relies on input html code. If i sleep the main ui thread it will
become frozen.
> I know how to get HTML with Async via Events but i have no idea how
program it so
> that Main UI thread will wait and then
>> Using HTTPCLI AsyncGET how main thread wait for the Async to download
>> the html code.
>> Code relies on input html code. If i sleep the main ui thread it will
>> become frozen.
>>
>> I know how to get HTML with Async via Events but i have no idea how
>> program it so that Main UI thread wi
David Loncarek wrote:
> Using HTTPCLI AsyncGET how main thread wait for the Async to download
> the html code.
Take a look at procedure THttpCli.DoRequestSync() in unit
OverbyteIcsHttpProt.pas, which handles the synchronous methods of THttpCli.
> Code relies on input html code. If i sleep the