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