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