Compartir a través de


HttpRequestMessageExtensions.GetHeaderValueOrDefault Método

Definición

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

Parámetros

headerName
String

Devoluciones

Se aplica a