2 writes to ResponseTrailers
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Http2\Http2Stream.FeatureCollection.cs (1)
30ResponseTrailers = new HttpResponseTrailers(ServerOptions.ResponseHeaderEncodingSelector);
Internal\Http3\Http3Stream.FeatureCollection.cs (1)
25ResponseTrailers = new HttpResponseTrailers(ServerOptions.ResponseHeaderEncodingSelector);
16 references to ResponseTrailers
Microsoft.AspNetCore.Server.Kestrel.Core (16)
Internal\Http\HttpProtocol.cs (2)
395ResponseTrailers?.Reset(); 1354ResponseTrailers?.Reset();
Internal\Http2\Http2FrameWriter.cs (3)
266else if (completed && stream.ResponseTrailers is { Count: > 0 }) 272stream.ResponseTrailers.SetReadOnly(); 276flushResult = await WriteDataAndTrailersAsync(stream, buffer, flushHeaders, stream.ResponseTrailers);
Internal\Http2\Http2OutputProducer.cs (2)
379if (appCompleted && !_startedWritingDataFrames && (_stream.ResponseTrailers == null || _stream.ResponseTrailers.Count == 0))
Internal\Http2\Http2Stream.FeatureCollection.cs (3)
28if (ResponseTrailers == null) 33ResponseTrailers.SetReadOnly(); 36return _userTrailers ?? ResponseTrailers;
Internal\Http3\Http3OutputProducer.cs (3)
423if (readResult.IsCompleted && _stream.ResponseTrailers?.Count > 0) 432_stream.ResponseTrailers.SetReadOnly(); 433flushResult = await _frameWriter.WriteResponseTrailersAsync(_stream.StreamId, _stream.ResponseTrailers);
Internal\Http3\Http3Stream.FeatureCollection.cs (3)
23if (ResponseTrailers == null) 28ResponseTrailers.SetReadOnly(); 31return _userTrailers ?? ResponseTrailers;