-
-
Notifications
You must be signed in to change notification settings - Fork 11
HTTP HEAD Example
Andrew Lambert edited this page Jun 12, 2015
·
11 revisions
##Synchronous This example synchronously performs an HTTP HEAD request.
Dim curl As New cURLClient
Dim headers As InternetHeaders
If curl.Head("http://www.example.com/") Then
headers = curl.GetResponseHeaders
End If
##Asynchronous This example asynchronously performs an HTTP HEAD request.
Dim curl As New cURLClient
curl.Head("http://www.google.com/")
Dim headers As InternetHeaders
Do
App.DoEvents() ' async transfers require an event loop!
Loop Until curl.IsTransferComplete
headers = curl.GetResponseHeaders
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.