Rename AcceptWebSocket to AcceptWebSocketAsync.
This commit is contained in:
parent
b9d7561bf9
commit
434a128f1a
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue