Freigeben über


HttpRequestMessageExtensions.GetHeaderValueOrDefault Methode

Definition

public static string GetHeaderValueOrDefault(this System.Net.Http.HttpRequestMessage request, string headerName);
static member GetHeaderValueOrDefault : System.Net.Http.HttpRequestMessage * string -> string
<Extension()>
Public Function GetHeaderValueOrDefault (request As HttpRequestMessage, headerName As String) As String

Parameter

headerName
String

Gibt zurück

Gilt für: