RequestTrailerExtensions.GetTrailer(HttpRequest, String) Método

Definição

Obtém o cabeçalho à direita solicitado da resposta. Verifique SupportsTrailers(HttpRequest) ou um NotSupportedException pode ser gerado. Verifique CheckTrailersAvailable(HttpRequest) ou uma InvalidOperationException pode ser gerada.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Primitives::StringValues GetTrailer(Microsoft::AspNetCore::Http::HttpRequest ^ request, System::String ^ trailerName);
public static Microsoft.Extensions.Primitives.StringValues GetTrailer (this Microsoft.AspNetCore.Http.HttpRequest request, string trailerName);
static member GetTrailer : Microsoft.AspNetCore.Http.HttpRequest * string -> Microsoft.Extensions.Primitives.StringValues
<Extension()>
Public Function GetTrailer (request As HttpRequest, trailerName As String) As StringValues

Parâmetros

request
HttpRequest
trailerName
String

Retornos

Aplica-se a