-
-
Notifications
You must be signed in to change notification settings - Fork 11
HTTP HEAD Example
Andrew Lambert edited this page Nov 5, 2023
·
11 revisions
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.ResponseHeaders
End If
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.ResponseHeaders
- ResponseHeaderEngine class
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.