34 implementations of Input
ClientSample (1)
src\SignalR\common\Shared\DuplexPipe.cs (1)
14public PipeReader Input { get; }
http2cat (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IIS.LongTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
35public PipeReader Input { get; }
TestTransport\InMemoryTransportConnection.cs (1)
111public PipeReader Input { get; }
Microsoft.AspNetCore.Http.Connections (1)
src\SignalR\common\Shared\DuplexPipe.cs (1)
14public PipeReader Input { get; }
Microsoft.AspNetCore.Http.Connections.Client (4)
Internal\LongPollingTransport.cs (1)
32public PipeReader Input => _transport!.Input;
Internal\ServerSentEventsTransport.cs (1)
33public PipeReader Input => _transport!.Input;
Internal\WebSocketsTransport.cs (1)
51public PipeReader Input => _transport!.Input;
src\SignalR\common\Shared\DuplexPipe.cs (1)
14public PipeReader Input { get; }
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
35public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Mocks\MockDuplexPipe.cs (1)
16public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
27public PipeReader Input { get; }
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
36public PipeReader Input { get; }
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestDuplexPipe.cs (1)
12public PipeReader Input => _input;
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\Shared\DuplexPipe.cs (1)
14public PipeReader Input { get; }
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (1)
2999public PipeReader Input => WrappedPipeReader;
Internal\MessageBufferTests.cs (1)
514public PipeReader Input { get; }
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\SignalR\common\Shared\DuplexPipe.cs (1)
14public PipeReader Input { get; }
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
35public PipeReader Input { get; }
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (1)
84public PipeReader Input => new MockPipeReader(this);
295 references to Input
ClientSample (5)
RawSample.cs (1)
57_ = ReceiveLoop(Console.Out, connection.Transport.Input);
Tcp\TcpConnection.cs (4)
52Transport?.Input.Complete(); 105_application.Input.Complete(sendError); 221var result = await _application.Input.ReadAsync(); 236_application.Input.AdvanceTo(end);
http2cat (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IIS.LongTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
InMemory.FunctionalTests (7)
Http3\WebTransport\WebTransportStreamTests.cs (1)
47var length = await stream.Transport.Input.AsStream().ReadAsync(memoryOut, CancellationToken.None);
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
31Input = new PassThroughPipeReader(duplexPipe.Input);
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
TestTransport\InMemoryTransportConnection.cs (3)
43public PipeReader Output => Application.Input; 85Transport.Input.Complete(); 102_reader = new ObservablePipeReader(duplexPipe.Input);
UpgradeTests.cs (1)
405connectionTransportFeature.Transport.Input.CancelPendingRead();
Microsoft.AspNetCore.Http.Connections (13)
Internal\HttpConnectionContext.cs (8)
331Application?.Input.CancelPendingRead(); 342Transport?.Input.Complete(); 357Application?.Input.Complete(); 367Application?.Input.Complete(); 384Transport?.Input.Complete(); 490var longPolling = new LongPollingServerTransport(timeoutSource.Token, Application.Input, loggerFactory, this); 558Application.Input.CancelPendingRead(); 712var transportToApplication = new DuplexPipe(Transport.Input, input.Writer);
Internal\HttpConnectionDispatcher.cs (1)
154var sse = new ServerSentEventsServerTransport(connection.Application.Input, connection.ConnectionId, connection, _loggerFactory);
Internal\Transports\WebSocketsServerTransport.cs (4)
79_application.Input.CancelPendingRead(); 208var result = await _application.Input.ReadAsync(); 265_application.Input.AdvanceTo(buffer.End); 291_application.Input.Complete();
Microsoft.AspNetCore.Http.Connections.Client (20)
Internal\LongPollingTransport.cs (4)
32public PipeReader Input => _transport!.Input; 91_application.Input.CancelPendingRead(); 123_application.Input.CancelPendingRead(); 136_transport!.Input.Complete();
Internal\SendUtils.cs (3)
27var result = await application.Input.ReadAsync(cancellationToken).ConfigureAwait(false); 69application.Input.AdvanceTo(buffer.End); 84application.Input.Complete();
Internal\ServerSentEventsTransport.cs (4)
33public PipeReader Input => _transport!.Input; 108_application.Input.CancelPendingRead(); 185_transport!.Input.Complete(); 187_application.Input.CancelPendingRead();
Internal\WebSocketsTransport.cs (9)
51public PipeReader Input => _transport!.Input; 365_application.Input.CancelPendingRead(); 428_application.Input.Complete(); 540var result = await _application.Input.ReadAsync().ConfigureAwait(false); 585_application.Input.AdvanceTo(buffer.End); 619_application.Input.Complete(); 667_transport!.Input.Complete(); 670_application.Input.CancelPendingRead(); 710var transportToApplication = new DuplexPipe(_transport!.Input, input.Writer);
Microsoft.AspNetCore.Http.Connections.Tests (42)
HttpConnectionDispatcherTests.cs (22)
135await connection.Transport.Input.ConsumeAsync(5); 241await connection.Transport.Input.ConsumeAsync(10); 244Assert.True(connection.Transport.Input.TryRead(out var result)); 246connection.Transport.Input.AdvanceTo(result.Buffer.End); 479var result = await connectionContext.Transport.Input.ReadAsync(); 543var result = await connectionContext.Transport.Input.ReadAsync(); 612Assert.True(connection.Transport.Input.TryRead(out var result)); 615connection.Transport.Input.AdvanceTo(result.Buffer.End); 3817var result = connection.Transport.Input.ReadAsync().AsTask().Result; 3818connection.Transport.Input.AdvanceTo(result.Buffer.End); 3845var result = await connection.Transport.Input.ReadAsync(); 3866connection.Transport.Input.AdvanceTo(result.Buffer.End); 3884var result = await connection.Transport.Input.ReadAsync(); 3895connection.Transport.Input.AdvanceTo(result.Buffer.End); 3907var result = await connection.Transport.Input.ReadAsync(); 3924connection.Transport.Input.AdvanceTo(result.Buffer.End); 3937var result = await connection.Transport.Input.ReadAsync(); 3951connection.Transport.Input.AdvanceTo(result.Buffer.End); 3964var result = await connection.Transport.Input.ReadAsync(); 3978connection.Transport.Input.AdvanceTo(result.Buffer.End); 4013var res = await connection.Transport.Input.ReadAsync(connection.ConnectionClosed); 4026connection.Transport.Input.AdvanceTo(res.Buffer.End);
HttpConnectionManagerTests.cs (5)
109var result = await connection.Transport.Input.ReadAsync(); 110connection.Transport.Input.AdvanceTo(result.Buffer.End); 134var exception = await Assert.ThrowsAsync<InvalidOperationException>(async () => await connection.Transport.Input.ReadAsync()); 251var result = await connection.Transport.Input.ReadAsync(); 259connection.Transport.Input.AdvanceTo(result.Buffer.End);
LongPollingTests.cs (4)
30var poll = new LongPollingServerTransport(CancellationToken.None, connection.Application.Input, LoggerFactory); 50var poll = new LongPollingServerTransport(timeoutToken, connection.Application.Input, LoggerFactory); 71var poll = new LongPollingServerTransport(CancellationToken.None, connection.Application.Input, LoggerFactory); 94var poll = new LongPollingServerTransport(CancellationToken.None, connection.Application.Input, LoggerFactory);
MapConnectionHandlerTests.cs (2)
436var result = await connection.Transport.Input.ReadAsync(); 444connection.Transport.Input.AdvanceTo(result.Buffer.Start);
ServerSentEventsTests.cs (5)
28var sse = new ServerSentEventsServerTransport(connection.Application.Input, connectionId: string.Empty, LoggerFactory); 51var sse = new ServerSentEventsServerTransport(connection.Application.Input, connectionId: connection.ConnectionId, LoggerFactory); 72var sse = new ServerSentEventsServerTransport(connection.Application.Input, connectionId: string.Empty, LoggerFactory); 94var sse = new ServerSentEventsServerTransport(connection.Application.Input, connectionId: string.Empty, LoggerFactory); 120var sse = new ServerSentEventsServerTransport(connection.Application.Input, connectionId: string.Empty, LoggerFactory);
WebSocketsTests.cs (4)
54var result = await connection.Transport.Input.ReadAsync(); 57connection.Transport.Input.AdvanceTo(buffer.End); 132var result = await connection.Transport.Input.ReadAsync(); 133connection.Transport.Input.AdvanceTo(result.Buffer.End);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\Http1Connection.cs (1)
67Input = _context.Transport.Input;
Internal\Http2\Http2Connection.cs (2)
193_inputTask = CopyPipeAsync(_context.Transport.Input, _input.Writer); 493_context.Transport.Input.CancelPendingRead();
Internal\Http3\Http3ControlStream.cs (1)
69public PipeReader Input => _context.Transport.Input;
Internal\Http3\Http3PendingStream.cs (3)
35Context.Transport.Input.CancelPendingRead(); 36Context.Transport.Input.Complete(exception); 42var Input = context.Transport.Input;
Internal\Http3\Http3Stream.cs (1)
73public PipeReader Input => _context.Transport.Input;
Internal\WebTransport\WebTransportStream.cs (1)
60_duplexPipe = new DuplexPipe(context.Transport.Input, context.Transport.Output);
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (49)
Http1\Http1ConnectionTests.cs (41)
35var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 38_transport.Input.AdvanceTo(_consumed, _examined); 54var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 67var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 78var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 81_transport.Input.AdvanceTo(_consumed, _examined); 95var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 98_transport.Input.AdvanceTo(_consumed, _examined); 121var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 131_transport.Input.AdvanceTo(TakeStartLineAndMessageHeaders()); 136readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 145_transport.Input.AdvanceTo(TakeMessageHeaders()); 199var read = await _application.Input.ReadAsync(); 211_application.Input.AdvanceTo(consumed, examined); 274var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 277_transport.Input.AdvanceTo(_consumed, _examined); 286readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 289_transport.Input.AdvanceTo(_consumed, _examined); 411var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 414_transport.Input.AdvanceTo(_consumed, _examined); 434var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 437_transport.Input.AdvanceTo(_consumed, _examined); 450ParseRequest((await _transport.Input.ReadAsync()).Buffer, out _consumed, out _examined); 451_transport.Input.AdvanceTo(_consumed, _examined); 464var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 466_transport.Input.AdvanceTo(_consumed, _examined); 477var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 481_transport.Input.AdvanceTo(_consumed, _examined); 491var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 495_transport.Input.AdvanceTo(_consumed, _examined); 508var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 512_transport.Input.AdvanceTo(_consumed, _examined); 525var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 529_transport.Input.AdvanceTo(_consumed, _examined); 542var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 546_transport.Input.AdvanceTo(_consumed, _examined); 557var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 563_transport.Input.AdvanceTo(_consumed, _examined); 828_application.Input.Complete(); 846var readableBuffer = (await _transport.Input.ReadAsync()).Buffer; 850_transport.Input.AdvanceTo(_consumed, _examined);
Http1\Http1ConnectionTestsBase.cs (2)
70_transport.Input.Complete(); 73_application.Input.Complete();
MessageBodyTests.cs (1)
716input.Transport.Input.CancelPendingRead();
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
31Input = new PassThroughPipeReader(duplexPipe.Input);
StartLineTests.cs (1)
545Transport.Input.Complete();
TestHelpers\TestInput.cs (3)
79Transport.Input.CancelPendingRead(); 84Application.Input.Complete(); 86Transport.Input.Complete();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
InMemoryTransportBenchmark.cs (1)
184public PipeReader Output => Application.Input;
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (3)
Internal\NamedPipeConnection.cs (2)
59public PipeReader Output => Application.Input; 282_originalTransport.Input.Complete();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicStreamContext.cs (2)
75private PipeReader Output => Application.Input; 553_originalTransport.Input.Complete();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (1)
59Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (10)
QuicConnectionContextTests.cs (6)
109var read = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout(); 111serverStream.Transport.Input.AdvanceTo(read.Buffer.End); 612var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout(); 613serverStream.Transport.Input.AdvanceTo(readResult.Buffer.End); 617readResult = await serverStream.Transport.Input.ReadAsync(); 636await serverStream.Transport.Input.CompleteAsync();
QuicTestHelpers.cs (4)
155var readResult = await serverStream.Transport.Input.ReadAtLeastAsync(TestData.Length).DefaultTimeout(); 156serverStream.Transport.Input.AdvanceTo(readResult.Buffer.End); 159readResult = await serverStream.Transport.Input.ReadAsync(); 164await serverStream.Transport.Input.CompleteAsync();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
Internal\SocketConnection.cs (2)
73public PipeReader Output => Application.Input; 103_originalTransport.Input.Complete();
src\Servers\Kestrel\shared\TransportConnection.cs (1)
73Application.Input.CancelPendingRead();
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
26base(duplexPipe.Input, duplexPipe.Output)
Microsoft.AspNetCore.SignalR.Client.Core (4)
HubConnection.cs (4)
1499var input = startingConnectionState.Connection.Transport.Input; 1624var input = connectionState.Connection.Transport.Input; 2257Connection.Transport.Input.CancelPendingRead(); 2382Connection.Transport.Input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Client.Tests (17)
HttpConnectionTests.ConnectionLifecycle.cs (1)
317await Assert.ThrowsAsync<HttpRequestException>(async () => await connection.Transport.Input.ReadAsync());
HttpConnectionTests.Transport.cs (5)
218Assert.Contains("This is a test", Encoding.UTF8.GetString(await connection.Transport.Input.ReadAllAsync())); 409var message = await connection.Transport.Input.ReadAtLeastAsync(14); 447await Assert.ThrowsAsync<HttpRequestException>(async () => await connection.Transport.Input.ReadAllAsync()); 510await connection.Transport.Input.ReadAllAsync(); 551await Assert.ThrowsAsync<HttpRequestException>(async () => await connection.Transport.Input.ReadAllAsync());
HubConnectionTests.ConnectionLifecycle.cs (2)
174testConnection.Transport.Input.Complete(); 403await testConnection.Transport.Input.CompleteAsync();
TestConnection.cs (3)
148var result = await Application.Input.ReadAsync(); 167Application.Input.AdvanceTo(consumed); 211Transport.Input.Complete();
TestTransport.cs (6)
25public PipeReader Input => _transport.Input; 59var result = await Application.Input.ReadAsync(); 73Application.Input.AdvanceTo(result.Buffer.End); 81Application.Input.Complete(); 88_transport.Input.Complete(); 90Application.Input.CancelPendingRead();
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
159internal PipeReader Input => _connectionContext.Transport.Input;
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
BroadcastBenchmark.cs (3)
78var result = await application.Input.ReadAsync(); 83application.Input.AdvanceTo(buffer.End); 91application.Input.Complete();
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (4)
248var result = await Connection.Application.Input.ReadAsync(); 265Connection.Application.Input.AdvanceTo(buffer.Start); 277if (!Connection.Application.Input.TryRead(out var result)) 304Connection.Application.Input.AdvanceTo(buffer.Start);
Microsoft.AspNetCore.SignalR.Tests (72)
AuthConnectionHandler.cs (2)
18var result = await connection.Transport.Input.ReadAsync(); 30connection.Transport.Input.AdvanceTo(buffer.End);
EchoConnectionHandler.cs (2)
16var result = await connection.Transport.Input.ReadAsync(); 28connection.Transport.Input.AdvanceTo(buffer.End);
EndToEndTests.cs (5)
195var receivedData = await connection.Transport.Input.ReadAsync(1); 293Assert.Equal(message, Encoding.UTF8.GetString(await connection.Transport.Input.ReadAsync(bytes.Length).DefaultTimeout())); 344var receivedData = await connection.Transport.Input.ReadAsync(bytes.Length).DefaultTimeout(); 707public PipeReader Input => _transport.Input; 751_application.Input.Complete();
HttpHeaderConnectionHandler.cs (2)
18var result = await connection.Transport.Input.ReadAsync(); 34connection.Transport.Input.AdvanceTo(buffer.End);
HubConnectionHandlerTests.cs (3)
2996WrappedPipeReader = new PipeReaderWrapper(_originalDuplexPipe.Input); 5285var prevPipe = connection.Application.Input; 5289var transportToApplication = new DuplexPipe(connection.Transport.Input, input.Writer);
Internal\MessageBufferTests.cs (56)
34var res = await pipes.Application.Input.ReadAsync().DefaultTimeout(); 40pipes.Application.Input.AdvanceTo(buffer.Start); 59var res = await pipes.Application.Input.ReadAsync(); 65pipes.Application.Input.AdvanceTo(buffer.Start); 73res = await pipes.Application.Input.ReadAsync().DefaultTimeout(); 79pipes.Application.Input.AdvanceTo(buffer.Start); 101var res = await pipes.Application.Input.ReadAsync(); 106pipes.Application.Input.AdvanceTo(buffer.Start); 110res = await pipes.Application.Input.ReadAsync(); 115pipes.Application.Input.AdvanceTo(buffer.Start); 118Assert.False(pipes.Application.Input.TryRead(out res)); 134var res = await pipes.Application.Input.ReadAsync(); 140pipes.Application.Input.AdvanceTo(buffer.Start); 149res = await pipes.Application.Input.ReadAsync(); 156pipes.Application.Input.AdvanceTo(buffer.Start); 158res = await pipes.Application.Input.ReadAsync(); 164pipes.Application.Input.AdvanceTo(buffer.Start); 183var res = await pipes.Application.Input.ReadAsync(); 189pipes.Application.Input.AdvanceTo(buffer.Start); 196res = await pipes.Application.Input.ReadAsync(); 203pipes.Application.Input.AdvanceTo(buffer.Start); 207res = await pipes.Application.Input.ReadAsync(); 213pipes.Application.Input.AdvanceTo(buffer.Start); 228var res = await pipes.Application.Input.ReadAsync(); 235pipes.Application.Input.AdvanceTo(buffer.Start); 260var res = await pipes.Application.Input.ReadAsync(); 267pipes.Application.Input.AdvanceTo(buffer.Start); 271res = await pipes.Application.Input.ReadAsync(); 277pipes.Application.Input.AdvanceTo(buffer.Start); 280Assert.False(pipes.Application.Input.TryRead(out res)); 297var res = await pipes.Application.Input.ReadAsync(); 303pipes.Application.Input.AdvanceTo(buffer.Start); 311res = await pipes.Application.Input.ReadAsync().DefaultTimeout(); 317pipes.Application.Input.AdvanceTo(buffer.Start); 332pipes.Application.Input.Complete(); 342var res = await pipes.Application.Input.ReadAsync(); 347pipes.Application.Input.AdvanceTo(buffer.Start); 351res = await pipes.Application.Input.ReadAsync(); 356pipes.Application.Input.AdvanceTo(buffer.Start); 359Assert.False(pipes.Application.Input.TryRead(out res)); 378var res = await pipes.Application.Input.ReadAsync(); 382pipes.Application.Input.AdvanceTo(buffer.Start); 390res = await pipes.Application.Input.ReadAsync(); 394pipes.Application.Input.AdvanceTo(buffer.Start); 422var res = await pipes.Application.Input.ReadAsync(); 426pipes.Application.Input.AdvanceTo(buffer.Start); 430res = await pipes.Application.Input.ReadAsync(); 434pipes.Application.Input.AdvanceTo(buffer.Start); 469var res = await pipes.Application.Input.ReadAsync(); 473pipes.Application.Input.AdvanceTo(buffer.Start); 479res = await pipes.Application.Input.ReadAsync(); 483pipes.Application.Input.AdvanceTo(buffer.Start); 488res = await pipes.Application.Input.ReadAsync(); 492pipes.Application.Input.AdvanceTo(buffer.Start); 494Assert.False(pipes.Application.Input.TryRead(out res)); 547var transportToApplication = new DuplexPipe(duplexPipePair.Transport.Input, input.Writer);
WriteThenCloseConnectionHandler.cs (2)
14var result = await connection.Transport.Input.ReadAsync(); 22connection.Transport.Input.AdvanceTo(buffer.End);
Microsoft.AspNetCore.SignalR.Tests.Utils (4)
TestClient.cs (4)
248var result = await Connection.Application.Input.ReadAsync(); 265Connection.Application.Input.AdvanceTo(buffer.Start); 277if (!Connection.Application.Input.TryRead(out var result)) 304Connection.Application.Input.AdvanceTo(buffer.Start);
SignalR.Client.FunctionalTestApp (2)
EchoConnectionHandler.cs (2)
15var result = await connection.Transport.Input.ReadAsync(); 31connection.Transport.Input.AdvanceTo(result.Buffer.End);
SignalRSamples (2)
ConnectionHandlers\MessagesConnectionHandler.cs (2)
27var result = await connection.Transport.Input.ReadAsync(); 46connection.Transport.Input.AdvanceTo(buffer.End);
SocialWeather (2)
SocialWeatherConnectionHandler.cs (2)
37var result = await connection.Transport.Input.ReadAsync(); 57connection.Transport.Input.AdvanceTo(buffer.End);
Sockets.FunctionalTests (3)
src\Servers\Kestrel\shared\test\PassThroughConnectionMiddleware.cs (1)
31Input = new PassThroughPipeReader(duplexPipe.Input);
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (2)
55var result = await connection.Transport.Input.ReadAsync(notificationFeature.ConnectionClosedRequested); 65connection.Transport.Input.AdvanceTo(result.Buffer.End);
WebTransportInteractiveSampleApp (2)
Program.cs (2)
95var inputPipe = stream.Transport.Input; 115var inputPipe = stream.Transport.Input;
WebTransportSampleApp (1)
Program.cs (1)
38var test = await stream.Transport.Input.AsStream().ReadAsync(memory, CancellationToken.None);