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
System.String

The header name.

value
System.String

The header value.

Applies to