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