Skip to content

libcURL.ProxyEngine.SetHeader

Andrew Lambert edited this page Jan 14, 2023 · 3 revisions

libcURL.ProxyEngine.SetHeader

Method Signature

 Sub SetHeader(HeaderName As String, HeaderValue As String)

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

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