-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.SetRequestHeader
Andrew Lambert edited this page Aug 27, 2015
·
19 revisions
#libcURL.cURLManager.SetRequestHeader
##Method Signature
Function SetRequestHeader(Optional List As libcURL.ListPtr, Name As String, Value As String) As Boolean##Parameters
| Name | Type | Comment |
|---|---|---|
| List | ListPtr | Optional. The return value from a previous call to this method |
| Name | String | The header name |
| Value | String | The header value. Pass an empty string to clear the header |
##Notes
Subsequent calls to this method will append the headers to the List parameter. You must maintain a reference to the List until it is no longer in use by libcURL. Pass the List reference back to this function when adding subsequent headers.
To clear all headers and free the List, pass an empty string as both the Name and Value.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.