Share via


HttpClientRequestMessage.GetHeader(String) Method

Definition

Returns the value of the header with the given name.

public override string GetHeader (string headerName);
override this.GetHeader : string -> string
Public Overrides Function GetHeader (headerName As String) As String

Parameters

headerName
String

Name of the header.

Returns

Returns the value of the header with the given name.

Applies to