1 instantiation of Http2Utilities
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
110
var http2Utilities = new
Http2Utilities
(context, _logger, _stopTokenSource.Token);
54 references to Http2Utilities
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (54)
Http2Tests.cs (51)
49
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
57
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
98
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 344);
100
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
148
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
208
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 11);
212
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
272
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 11);
276
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
299
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
307
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 11);
310
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
335
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
346
await h2Connection.StartStreamAsync(3,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
379
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
382
Http2Utilities
.VerifyGoAway(goAwayFrame, int.MaxValue, Http2ErrorCode.NO_ERROR);
392
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
418
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
421
Http2Utilities
.VerifyGoAway(goAwayFrame, int.MaxValue, Http2ErrorCode.NO_ERROR);
431
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
458
await h2Connection.StartStreamAsync(streamId,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
461
Http2Utilities
.VerifyGoAway(goAwayFrame, int.MaxValue, Http2ErrorCode.NO_ERROR);
471
Http2Utilities
.VerifyDataFrame(dataFrame, streamId, endOfStream: true, length: 0);
478
await h2Connection.StartStreamAsync(streamId,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
488
Http2Utilities
.VerifyDataFrame(dataFrame, streamId, endOfStream: true, length: 0);
492
await h2Connection.StartStreamAsync(streamId,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
496
Http2Utilities
.VerifyGoAway(goAwayFrame, streamId, Http2ErrorCode.NO_ERROR);
507
Http2Utilities
.VerifyDataFrame(dataFrame, streamId, endOfStream: true, length: 0);
530
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
538
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
564
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
572
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, Http2ErrorCode.CANCEL);
596
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
604
Http2Utilities
.VerifyResetFrame(frame, expectedStreamId: 1, Http2ErrorCode.INTERNAL_ERROR);
681
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
684
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: (Http2ErrorCode)1111);
723
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
734
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: (Http2ErrorCode)1111);
770
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
781
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 11);
784
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: (Http2ErrorCode)1111);
822
await h2Connection.StartStreamAsync(1,
Http2Utilities
.BrowserRequestHeaders, endStream: true);
833
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: false, length: 11);
836
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
876
await h2Connection.StartStreamAsync(1,
Http2Utilities
.PostRequestHeaders, endStream: false);
882
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: (Http2ErrorCode)1111);
924
await h2Connection.StartStreamAsync(1,
Http2Utilities
.PostRequestHeaders, endStream: false);
931
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: (Http2ErrorCode)1111);
974
await h2Connection.StartStreamAsync(1,
Http2Utilities
.PostRequestHeaders, endStream: false);
986
Http2Utilities
.VerifyDataFrame(dataFrame, 1, endOfStream: true, length: 0);
989
Http2Utilities
.VerifyResetFrame(resetFrame, expectedStreamId: 1, expectedErrorCode: Http2ErrorCode.NO_ERROR);
src\Shared\Http2cat\Http2CatHostedService.cs (1)
110
var
http2Utilities = new Http2Utilities(context, _logger, _stopTokenSource.Token);
src\Shared\Http2cat\Http2CatIHostBuilderExtensions.cs (1)
13
public static IHostBuilder UseHttp2Cat(this IHostBuilder hostBuilder, string address, Func<
Http2Utilities
, Task> scenario)
src\Shared\Http2cat\Http2CatOptions.cs (1)
12
public Func<
Http2Utilities
, Task> Scenaro { get; set; }