Click or drag to resize

IResponseSetHeaderByName Method

Version 91.1.160
Set the header name to value. The Referer value cannot be set using this method. Use [!:SetReferrer(string, ReferrerPolicy)] instead.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 91.1.160.0 (91.1.160.0)
Syntax
void SetHeaderByName(
	string name,
	string value,
	bool overwrite
)

Parameters

name
Type: SystemString
header name
value
Type: SystemString
new header value
overwrite
Type: SystemBoolean
If overwrite is true any existing values will be replaced with the new value. If overwrite is false any existing values will not be overwritten
See Also