libcURL.ProxyEngine.SetProxyHeader - charonn0/RB-libcURL GitHub Wiki
libcURL.ProxyEngine.SetProxyHeader (Deprecated)
Method Signature
Function SetProxyHeader(HeaderName As String, HeaderValue As String) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
| HeaderName | String | The header name. Pass an empty string to clear all previously set headers |
| HeaderValue | String | The header value. Pass an empty string to clear the named header |
Return value
Returns True on success.
Remarks
This method has been deprecated in favor of ProxyEngine.SetHeader.
Specifies an HTTP header which should be sent to the proxy server instead of the origin server. Subsequent calls to this method will append the header to the previously set headers. Headers will persist from transfer to transfer.