RequestTrailerExtensions.GetTrailer(HttpRequest, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the requested trailing header from the response. Check SupportsTrailers(HttpRequest) or a NotSupportedException may be thrown. Check CheckTrailersAvailable(HttpRequest) or an InvalidOperationException may be thrown.
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
Parameters
- request
- HttpRequest
- trailerName
- String