Moved kestrel specific features into transport abstractions (#2482)
This commit is contained in:
parent
f6b2880369
commit
ca44b4adfc
|
|
@ -17,7 +17,6 @@ namespace Microsoft.AspNetCore.Connections
|
|||
IConnectionIdFeature,
|
||||
IConnectionItemsFeature,
|
||||
IConnectionTransportFeature,
|
||||
IApplicationTransportFeature,
|
||||
IConnectionUserFeature
|
||||
{
|
||||
public DefaultConnectionContext() :
|
||||
|
|
@ -39,7 +38,6 @@ namespace Microsoft.AspNetCore.Connections
|
|||
Features.Set<IConnectionItemsFeature>(this);
|
||||
Features.Set<IConnectionIdFeature>(this);
|
||||
Features.Set<IConnectionTransportFeature>(this);
|
||||
Features.Set<IApplicationTransportFeature>(this);
|
||||
}
|
||||
|
||||
public DefaultConnectionContext(string id, IDuplexPipe transport, IDuplexPipe application)
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ using Microsoft.AspNetCore.Http.Features;
|
|||
using Microsoft.AspNetCore.Connections;
|
||||
using Microsoft.AspNetCore.Connections.Features;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal;
|
||||
using Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal;
|
||||
|
||||
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using System.Buffers;
|
|||
using System.IO.Pipelines;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.AspNetCore.Connections.Features
|
||||
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal
|
||||
{
|
||||
public interface IApplicationTransportFeature
|
||||
{
|
||||
|
|
@ -5,7 +5,7 @@ using System.Buffers;
|
|||
using System.IO.Pipelines;
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.AspNetCore.Connections.Features
|
||||
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal
|
||||
{
|
||||
public interface ITransportSchedulerFeature
|
||||
{
|
||||
Loading…
Reference in New Issue