Rename AcceptWebSocket to AcceptWebSocketAsync.

This commit is contained in:
Chris Ross 2014-06-13 08:37:23 -07:00
parent b9d7561bf9
commit 434a128f1a
3 changed files with 4 additions and 4 deletions

View File

@ -68,9 +68,9 @@ namespace Microsoft.AspNet.Http
public virtual Task<WebSocket> AcceptWebSocketAsync()
{
return AcceptWebSocket(subProtocol: null);
return AcceptWebSocketAsync(subProtocol: null);
}
public abstract Task<WebSocket> AcceptWebSocket(string subProtocol);
public abstract Task<WebSocket> AcceptWebSocketAsync(string subProtocol);
}
}

View File

@ -226,7 +226,7 @@ namespace Microsoft.AspNet.PipelineCore
return authenticateContext.Results;
}
public override Task<WebSocket> AcceptWebSocket(string subProtocol)
public override Task<WebSocket> AcceptWebSocketAsync(string subProtocol)
{
var webSocketFeature = WebSocketFeature;
if (WebSocketFeature == null)

View File

@ -129,7 +129,7 @@ namespace Microsoft.AspNet.Owin
throw new NotImplementedException();
}
public override Task<WebSocket> AcceptWebSocket(string subProtocol)
public override Task<WebSocket> AcceptWebSocketAsync(string subProtocol)
{
throw new NotImplementedException();
}