aspnetcore/src/Microsoft.AspNet.Http/Features/HttpConnectionFeature.cs

24 lines
618 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.
using System.Net;
namespace Microsoft.AspNet.Http.Features.Internal
{
public class HttpConnectionFeature : IHttpConnectionFeature
{
public HttpConnectionFeature()
{
}
public bool IsLocal { get; set; }
public IPAddress LocalIpAddress { get; set; }
public int LocalPort { get; set; }
public IPAddress RemoteIpAddress { get; set; }
public int RemotePort { get; set; }
}
}