Share via


Request.SetHeader(String, String) Method

Definition

Sets a header value the header collection.

protected internal virtual void SetHeader (string name, string value);
abstract member SetHeader : string * string -> unit
override this.SetHeader : string * string -> unit
Protected Friend Overridable Sub SetHeader (name As String, value As String)

Parameters

name
String

The header name.

value
String

The header value.

Applies to