Partager via


HttpRequestMessageExtensions.GetHeaderValueOrDefault Méthode

Définition

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

Paramètres

headerName
String

Retours

S’applique à