Click or drag to resize

RequestSetHeaderByName Method

Version 87.1.132
Set the header name to value. The Referer value cannot be set using this method. Use SetReferrer(String, ReferrerPolicy) instead.

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 87.1.132.0
Syntax
public 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

Implements

IRequestSetHeaderByName(String, String, Boolean)
See Also