共用方式為


RequestHeaders.SetValue(String, String) Method

Definition

Sets the header value name. If a header with this name already exist replaces it's value.

public void SetValue (string name, string value);
member this.SetValue : string * string -> unit
Public Sub SetValue (name As String, value As String)

Parameters

name
String

The header name.

value
String

The header value.

Applies to