1 instantiation of HttpResponseHeaders
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
323protected HttpResponseHeaders HttpResponseHeaders { get; } = new HttpResponseHeaders();
39 references to HttpResponseHeaders
Microsoft.AspNetCore.Server.Kestrel.Core (39)
Internal\Http\Http1OutputProducer.cs (4)
336public void WriteResponseHeaders(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, bool appComplete) 353private void WriteResponseHeadersInternal(ref BufferWriter<PipeWriter> writer, int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk) 494public ValueTask<FlushResult> FirstWriteAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> buffer, CancellationToken cancellationToken) 514public ValueTask<FlushResult> FirstWriteChunkedAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> buffer, CancellationToken cancellationToken)
Internal\Http\HttpProtocol.cs (12)
323protected HttpResponseHeaders HttpResponseHeaders { get; } = new HttpResponseHeaders(); 863var responseHeaders = HttpResponseHeaders; 886var responseHeaders = HttpResponseHeaders; 893var responseHeaders = HttpResponseHeaders; 911var responseHeaders = HttpResponseHeaders; 977private HttpResponseHeaders InitializeResponseFirstWrite(int firstWriteByteCount) 981var responseHeaders = CreateResponseHeaders(appCompleted: false); 1000var responseHeaders = CreateResponseHeaders(appCompleted); 1119private HttpResponseHeaders CreateResponseHeaders(bool appCompleted) 1121var responseHeaders = HttpResponseHeaders; 1352var responseHeaders = HttpResponseHeaders; 1640var responseHeaders = InitializeResponseFirstWrite(data.Length);
Internal\Http\HttpResponseHeaders.cs (2)
142private readonly HttpResponseHeaders _collection; 150internal Enumerator(HttpResponseHeaders collection)
Internal\Http\IHttpOutputProducer.cs (3)
16void WriteResponseHeaders(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, bool appCompleted); 28ValueTask<FlushResult> FirstWriteAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken); 29ValueTask<FlushResult> FirstWriteChunkedAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken);
Internal\Http2\Http2FrameWriter.cs (6)
247WriteResponseHeaders(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders); 490WriteResponseHeadersUnsynchronized(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.END_STREAM, (HttpResponseHeaders)stream.ResponseHeaders); 530public void WriteResponseHeaders(int streamId, int statusCode, Http2HeadersFrameFlags headerFrameFlags, HttpResponseHeaders headers) 543private void WriteResponseHeadersUnsynchronized(int streamId, int statusCode, Http2HeadersFrameFlags headerFrameFlags, HttpResponseHeaders headers) 579WriteResponseHeadersUnsynchronized(streamId, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders); 796WriteResponseHeadersUnsynchronized(stream.StreamId, stream.StatusCode, Http2HeadersFrameFlags.NONE, (HttpResponseHeaders)stream.ResponseHeaders);
Internal\Http2\Http2OutputProducer.cs (3)
361public void WriteResponseHeaders(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, bool appCompleted) 555public ValueTask<FlushResult> FirstWriteAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken) 570public ValueTask<FlushResult> FirstWriteChunkedAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken)
Internal\Http3\Http3FrameWriter.cs (1)
353internal void WriteResponseHeaders(int statusCode, HttpResponseHeaders headers)
Internal\Http3\Http3HeadersEnumerator.cs (3)
20private HttpResponseHeaders.Enumerator _headersEnumerator; 33public void Initialize(HttpResponseHeaders headers) 53case HttpResponseHeaders responseHeaders:
Internal\Http3\Http3OutputProducer.cs (3)
152public ValueTask<FlushResult> FirstWriteAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken) 162public ValueTask<FlushResult> FirstWriteChunkedAsync(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, ReadOnlySpan<byte> data, CancellationToken cancellationToken) 378public void WriteResponseHeaders(int statusCode, string? reasonPhrase, HttpResponseHeaders responseHeaders, bool autoChunk, bool appCompleted)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (2)
31private HttpResponseHeaders.Enumerator _headersEnumerator; 46public void Initialize(HttpResponseHeaders headers)