27 lines
861 B
C#
27 lines
861 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
namespace Microsoft.AspNet.Server.Kestrel.Http
|
|
{
|
|
public class ConnectionContext : ListenerContext
|
|
{
|
|
public ConnectionContext()
|
|
{
|
|
}
|
|
|
|
public ConnectionContext(ListenerContext context) : base(context)
|
|
{
|
|
}
|
|
|
|
public ConnectionContext(ConnectionContext context) : base(context)
|
|
{
|
|
SocketInput = context.SocketInput;
|
|
SocketOutput = context.SocketOutput;
|
|
ConnectionControl = context.ConnectionControl;
|
|
}
|
|
|
|
public SocketInput SocketInput { get; set; }
|
|
public ISocketOutput SocketOutput { get; set; }
|
|
public IConnectionControl ConnectionControl { get; set; }
|
|
}
|
|
} |