Compartilhar via


HttpRequestMessageExtensions.GetHeaderValueOrDefault Método

Definição

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

Retornos

Aplica-se a