4 implementations of IDuplexPipe
Microsoft.AspNetCore.Http.Connections (1)
src\aspnetcore\src\SignalR\common\Shared\DuplexPipe.cs (1)
6internal sealed class DuplexPipe : IDuplexPipe
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
19internal sealed class DuplexPipe : IDuplexPipe
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (1)
15internal class DuplexPipeStreamAdapter<TStream> : DuplexPipeStream, IDuplexPipe where TStream : Stream
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipe.cs (1)
19internal sealed class DuplexPipe : IDuplexPipe
52 references to IDuplexPipe
Microsoft.AspNetCore.Connections.Abstractions (7)
ConnectionContext.cs (2)
16/// Gets or sets the <see cref="IDuplexPipe"/> that can be used to read or write data on this connection. 18public abstract IDuplexPipe Transport { get; set; }
DefaultConnectionContext.cs (4)
64public DefaultConnectionContext(string id, IDuplexPipe transport, IDuplexPipe application) 84public IDuplexPipe? Application { get; set; } 87public override IDuplexPipe Transport { get; set; } = default!;
Features\IConnectionTransportFeature.cs (1)
16IDuplexPipe Transport { get; set; }
Microsoft.AspNetCore.Http.Connections (11)
Internal\HttpConnectionContext.cs (5)
46private IDuplexPipe _application; 69IDuplexPipe transport, IDuplexPipe application, HttpConnectionDispatcherOptions options, bool useStatefulReconnect) 189public IDuplexPipe Application 201public override IDuplexPipe Transport { get; set; }
Internal\Transports\WebSocketsServerTransport.cs (2)
16private readonly IDuplexPipe _application; 23public WebSocketsServerTransport(WebSocketOptions options, IDuplexPipe application, HttpConnectionContext connection, ILoggerFactory loggerFactory)
src\aspnetcore\src\SignalR\common\Shared\DuplexPipe.cs (4)
32public IDuplexPipe Transport { get; } 33public IDuplexPipe Application { get; } 35public DuplexPipePair(IDuplexPipe transport, IDuplexPipe application)
Microsoft.AspNetCore.Server.Kestrel.Core (21)
HttpsConfigurationService.cs (1)
195public override IDuplexPipe Transport
Internal\Http3\Http3Stream.cs (1)
157public void InitializeWithExistingContext(IDuplexPipe transport)
Internal\HttpConnectionContext.cs (1)
29public IDuplexPipe Transport { get; set; } = default!;
Internal\WebTransport\WebTransportStream.cs (1)
30public override IDuplexPipe Transport { get => _duplexPipe; set => throw new NotSupportedException(); }
Middleware\HttpsConnectionMiddleware.cs (2)
239var originalTransport = context.Transport; 449private SslDuplexPipe CreateSslDuplexPipe(IDuplexPipe transport, MemoryPool<byte> memoryPool)
Middleware\LoggingConnectionMiddleware.cs (1)
22var oldTransport = context.Transport;
Middleware\LoggingDuplexPipe.cs (1)
14public LoggingDuplexPipe(IDuplexPipe transport, ILogger logger) :
Middleware\LoggingMultiplexedConnectionMiddleware.cs (1)
128public override IDuplexPipe Transport { get => _inner.Transport; set => _inner.Transport = value; }
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipe.cs (7)
9/// An <see cref="IDuplexPipe"/> is *not* a pipe. It is also a reader-writer pair, but the reader and writer are not 14/// A <see cref="DuplexPipePair"/> is a pair of <see cref="IDuplexPipe"/> instances, each of which represents one end of 16/// <see cref="Pipe"/>s, as these underlie the <see cref="IDuplexPipe"/> instances. In either view, it is composed of 45public IDuplexPipe Transport { get; } 46public IDuplexPipe Application { get; } 48public DuplexPipePair(IDuplexPipe transport, IDuplexPipe application)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStreamAdapter.cs (3)
12/// A helper for wrapping a Stream decorator from an <see cref="IDuplexPipe"/>. 20public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, Func<Stream, TStream> createStream) : 25public DuplexPipeStreamAdapter(IDuplexPipe duplexPipe, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, TStream> createStream) :
src\aspnetcore\src\Shared\ServerInfrastructure\SslDuplexPipe.cs (2)
14public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions) 19public SslDuplexPipe(IDuplexPipe transport, StreamPipeReaderOptions readerOptions, StreamPipeWriterOptions writerOptions, Func<Stream, SslStream> factory) :
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (13)
Internal\QuicStreamContext.cs (2)
28private readonly IDuplexPipe _originalTransport; 29private readonly IDuplexPipe _originalApplication;
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (2)
40public override IDuplexPipe Transport { get; set; } = default!; 42public IDuplexPipe Application { get; set; } = default!;
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
22IDuplexPipe IConnectionTransportFeature.Transport
src\aspnetcore\src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (1)
34public IDuplexPipe Application { get; set; } = default!;
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipe.cs (7)
9/// An <see cref="IDuplexPipe"/> is *not* a pipe. It is also a reader-writer pair, but the reader and writer are not 14/// A <see cref="DuplexPipePair"/> is a pair of <see cref="IDuplexPipe"/> instances, each of which represents one end of 16/// <see cref="Pipe"/>s, as these underlie the <see cref="IDuplexPipe"/> instances. In either view, it is composed of 45public IDuplexPipe Transport { get; } 46public IDuplexPipe Application { get; } 48public DuplexPipePair(IDuplexPipe transport, IDuplexPipe application)