Method Set
Set(string, string?)
Sets the specified header to the specified value.
public void Set(string headerName, string? headerValue)
Parameters
Remarks
If the header specified in the header does not exist, the Set method inserts a new header into the list of header name/value pairs. If the header specified in header is already present, value replaces the existing value.