Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 9028c6a

Browse files
committed
#88 Rename IHttpOpaqueUpgradeFeature to IHttpUpgradeFeature.
1 parent 10d8b10 commit 9028c6a

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

src/Microsoft.AspNet.HttpFeature/IHttpOpaqueUpgradeFeature.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
4+
using System.IO;
5+
using System.Threading.Tasks;
6+
using Microsoft.Framework.Runtime;
7+
8+
namespace Microsoft.AspNet.HttpFeature
9+
{
10+
[AssemblyNeutral]
11+
public interface IHttpUpgradeFeature
12+
{
13+
bool IsUpgradableRequest { get; }
14+
Task<Stream> UpgradeAsync();
15+
}
16+
}

src/Microsoft.AspNet.HttpFeature/Microsoft.AspNet.HttpFeature.kproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<Compile Include="IHttpApplicationFeature.cs" />
2525
<Compile Include="IHttpBufferingFeature.cs" />
2626
<Compile Include="IHttpConnectionFeature.cs" />
27-
<Compile Include="IHttpOpaqueUpgradeFeature.cs" />
27+
<Compile Include="IHttpUpgradeFeature.cs" />
2828
<Compile Include="IHttpRequestFeature.cs" />
2929
<Compile Include="IHttpRequestLifetimeFeature.cs" />
3030
<Compile Include="IHttpResponseFeature.cs" />

0 commit comments

Comments
 (0)