Skip to content

libcURL.ProxyEngine.SetProxyHeader

Andrew Lambert edited this page Dec 31, 2015 · 8 revisions

#libcURL.ProxyEngine.SetProxyHeader

##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 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.

Clone this wiki locally