1 implementation of IHttpRequestTrailersFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
28IHttpRequestTrailersFeature,
20 references to IHttpRequestTrailersFeature
InMemory.FunctionalTests (1)
Http2\Http2TestBase.cs (1)
227var trailers = context.Features.Get<IHttpRequestTrailersFeature>().Trailers;
Microsoft.AspNetCore.Http.Abstractions (3)
Extensions\RequestTrailerExtensions.cs (3)
32return request.HttpContext.Features.Get<IHttpRequestTrailersFeature>() != null; 43return request.HttpContext.Features.Get<IHttpRequestTrailersFeature>()?.Available == true; 55var feature = request.HttpContext.Features.Get<IHttpRequestTrailersFeature>();
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingFields.cs (1)
113/// Flag for logging the HTTP Request <see cref="IHttpRequestTrailersFeature.Trailers"/>.
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\HttpProtocol.FeatureCollection.cs (2)
110bool IHttpRequestTrailersFeature.Available => RequestTrailersAvailable; 112IHeaderDictionary IHttpRequestTrailersFeature.Trailers
Internal\Http\HttpProtocol.Generated.cs (9)
47internal protected IHttpRequestTrailersFeature? _currentIHttpRequestTrailersFeature; 260else if (key == typeof(IHttpRequestTrailersFeature)) 412else if (key == typeof(IHttpRequestTrailersFeature)) 414_currentIHttpRequestTrailersFeature = (IHttpRequestTrailersFeature?)value; 566else if (typeof(TFeature) == typeof(IHttpRequestTrailersFeature)) 568feature = Unsafe.As<IHttpRequestTrailersFeature?, TFeature?>(ref _currentIHttpRequestTrailersFeature); 726else if (typeof(TFeature) == typeof(IHttpRequestTrailersFeature)) 728_currentIHttpRequestTrailersFeature = Unsafe.As<TFeature?, IHttpRequestTrailersFeature?>(ref feature); 876yield return new KeyValuePair<Type, object>(typeof(IHttpRequestTrailersFeature), _currentIHttpRequestTrailersFeature);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http1\Http1HttpProtocolFeatureCollectionTests.cs (2)
111_collection[typeof(IHttpRequestTrailersFeature)] = CreateHttp1Connection(); 141_collection.Set<IHttpRequestTrailersFeature>(CreateHttp1Connection());
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
HttpProtocolFeatureCollection.cs (2)
131public IHttpRequestTrailersFeature Get_IHttpRequestTrailersFeature() 133return _collection.Get<IHttpRequestTrailersFeature>();