[Gambas-user] HttpClient Example #2 ?

T Lee Davidson t.lee.davidson at ...626...
Thu Dec 4 02:42:38 CET 2014


On 12/03/2014 07:59 PM, Benoît Minisini wrote:
> Le 03/12/2014 23:16, T Lee Davidson a écrit :
>> At http://gambaswiki.org/wiki/comp/gb.net.curl/httpclient, under Example
>> #2, in:
>>
>> Public Sub DownloadAsync(URL As String)
>>
>>      sDownloadBuffer = ""
>>      hAsyncClient.URL = URL
>>      hAsyncClient.TimeOut = 20
>>      hClient.Async = TRUE
>>      hAsyncClient.Get()
>>
>> End
>>
>> Should the line "hClient.Async = TRUE" be "hAsyncClient.Async = TRUE"?
>>
>>
>
> Obviously.
>

Well that's what I thought. But, I didn't want to "correct" that if it 
was done intentionally for some reason I may not be aware of.

Fixed :-)


-- 
Lee
__________

"Artificial Intelligence is no match for natural stupidity."




More information about the User mailing list