30 references to Http2HeadersFrameFlags
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (30)
src\Shared\Http2cat\Http2Utilities.cs (19)
186frame.PrepareHeaders(Http2HeadersFrameFlags.NONE, streamId); 195frame.HeadersFlags = Http2HeadersFrameFlags.END_HEADERS; 200frame.HeadersFlags |= Http2HeadersFrameFlags.END_STREAM; 285frame.PrepareHeaders(Http2HeadersFrameFlags.END_HEADERS | Http2HeadersFrameFlags.PADDED, streamId); 302frame.HeadersFlags |= Http2HeadersFrameFlags.END_STREAM; 324frame.PrepareHeaders(Http2HeadersFrameFlags.END_HEADERS | Http2HeadersFrameFlags.PRIORITY, streamId); 341frame.HeadersFlags |= Http2HeadersFrameFlags.END_STREAM; 367frame.PrepareHeaders(Http2HeadersFrameFlags.END_HEADERS | Http2HeadersFrameFlags.PADDED | Http2HeadersFrameFlags.PRIORITY, streamId); 388frame.HeadersFlags |= Http2HeadersFrameFlags.END_STREAM; 499internal async Task<bool> SendHeadersAsync(int streamId, Http2HeadersFrameFlags flags, IEnumerable<KeyValuePair<string, string>> headers) 515internal async Task SendHeadersAsync(int streamId, Http2HeadersFrameFlags flags, byte[] headerBlock) 534frame.PrepareHeaders(Http2HeadersFrameFlags.PADDED, streamId); 551frame.PrepareHeaders(Http2HeadersFrameFlags.END_HEADERS, streamId); 905Assert.True((headersFrame.Flags & (byte)Http2HeadersFrameFlags.END_HEADERS) != 0); 906Assert.Equal(endStream, (headersFrame.Flags & (byte)Http2HeadersFrameFlags.END_STREAM) != 0);
src\Shared\ServerInfrastructure\Http2\Http2Frame.Headers.cs (11)
21public Http2HeadersFrameFlags HeadersFlags 23get => (Http2HeadersFrameFlags)Flags; 27public bool HeadersEndHeaders => (HeadersFlags & Http2HeadersFrameFlags.END_HEADERS) == Http2HeadersFrameFlags.END_HEADERS; 29public bool HeadersEndStream => (HeadersFlags & Http2HeadersFrameFlags.END_STREAM) == Http2HeadersFrameFlags.END_STREAM; 31public bool HeadersHasPadding => (HeadersFlags & Http2HeadersFrameFlags.PADDED) == Http2HeadersFrameFlags.PADDED; 33public bool HeadersHasPriority => (HeadersFlags & Http2HeadersFrameFlags.PRIORITY) == Http2HeadersFrameFlags.PRIORITY; 45public void PrepareHeaders(Http2HeadersFrameFlags flags, int streamId)