Skip to content

libcURL.ProxyEngine.SetHeader

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

libcURL.ProxyEngine.SetHeader

Method Signature

 Function SetHeader(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