Skip to content

libcURL.ProxyEngine.SetProxyHeader

Andrew Lambert edited this page Nov 26, 2022 · 8 revisions

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.

Clone this wiki locally