Click or drag to resize

IRequestSetHeaderByName Method

Version 86.0.240
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: 86.0.240.0 (86.0.240.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