Click or drag to resize

Request.SetHeaderByName Method

Version 94.4.20
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: 94.4.20.0
Syntax
public void SetHeaderByName(
	string name,
	string value,
	bool overwrite
)

Parameters

name
Type: System.String
header name
value
Type: System.String
new header value
overwrite
Type: System.Boolean
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

IRequest.SetHeaderByName(String, String, Boolean)
See Also