Click or drag to resize

RequestSetHeaderByName Method

Version 107.1.120
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: 107.1.120.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