2 instantiations of Http3ControlStream
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (2)
408
var stream = new
Http3ControlStream
(this, testStreamContext);
1076
var stream = _testBase.OnCreateServerControlStream?.Invoke(testStreamContext) ?? new
Http3ControlStream
(_testBase, testStreamContext);
50 references to Http3ControlStream
InMemory.FunctionalTests (50)
Http3\Http3ConnectionTests.cs (9)
173
var
inboundControlStream = await Http3Api.GetInboundControlStream();
199
var
inboundControlStream = await Http3Api.GetInboundControlStream();
234
var
outboundcontrolStream = await Http3Api.CreateControlStream();
279
var
controlStream = await Http3Api.CreateControlStream();
298
var
controlStream = await Http3Api.CreateControlStream(id: 0);
324
var
controlStream = await Http3Api.CreateControlStream(id: 0);
347
var
controlStream = await Http3Api.GetInboundControlStream();
368
var
inboundControlStream = await Http3Api.GetInboundControlStream();
379
var
outboundcontrolStream = await Http3Api.CreateControlStream();
Http3\Http3StreamTests.cs (4)
2758
var
outboundControlStream = await Http3Api.CreateControlStream().DefaultTimeout();
2761
var
inboundControlStream = await Http3Api.GetInboundControlStream();
2765
var
invalidStream = await Http3Api.CreateControlStream(typeId).DefaultTimeout();
2793
var
outboundcontrolStream = await Http3Api.CreateControlStream();
Http3\Http3TimeoutTests.cs (20)
25
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
42
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
66
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
101
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
135
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
176
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
223
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
226
var
outboundControlStream = await Http3Api.CreateControlStream(id: null);
258
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
261
var
outboundControlStream = await Http3Api.CreateControlStream(id: null);
287
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
293
var
outboundControlStream = await Http3Api.CreateControlStream(id: 0);
313
var
controlStream = await Http3Api.GetInboundControlStream().DefaultTimeout();
316
var
outboundControlStream = await Http3Api.CreateControlStream(id: null);
347
var
inboundControlStream = await Http3Api.GetInboundControlStream();
387
var
inboundControlStream = await Http3Api.GetInboundControlStream();
541
var
inboundControlStream = await Http3Api.GetInboundControlStream();
587
var
inboundControlStream = await Http3Api.GetInboundControlStream();
642
var
inboundControlStream = await Http3Api.GetInboundControlStream();
703
var
inboundControlStream = await Http3Api.GetInboundControlStream();
Http3\WebTransport\WebTransportHandshakeTests.cs (4)
50
var
controlStream = await Http3Api.CreateControlStream();
51
var
controlStream2 = await Http3Api.GetInboundControlStream();
116
var
controlStream = await Http3Api.CreateControlStream();
117
var
controlStream2 = await Http3Api.GetInboundControlStream();
Http3\WebTransport\WebTransportTestUtilities.cs (2)
47
var
controlStream = await inMemory.CreateControlStream();
48
var
controlStream2 = await inMemory.GetInboundControlStream();
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (11)
85
internal Func<TestStreamContext,
Http3ControlStream
> OnCreateServerControlStream { get; set; }
86
private
Http3ControlStream
_inboundControlStream;
90
internal
Http3ControlStream
OutboundControlStream { get; set; }
107
internal async ValueTask<
Http3ControlStream
> GetInboundControlStream()
118
while (reader.TryRead(out
var
stream))
398
internal ValueTask<
Http3ControlStream
> CreateControlStream()
403
internal async ValueTask<
Http3ControlStream
> CreateControlStream(int? id)
408
var
stream = new Http3ControlStream(this, testStreamContext);
997
public readonly Channel<
Http3ControlStream
> ToClientAcceptQueue = Channel.CreateUnbounded<
Http3ControlStream
>(new UnboundedChannelOptions
1076
var
stream = _testBase.OnCreateServerControlStream?.Invoke(testStreamContext) ?? new Http3ControlStream(_testBase, testStreamContext);