Remove Obsolete WebSocketMiddleware constructor (#7163)

This commit is contained in:
BrennanConroy 2019-01-31 16:11:50 -08:00 committed by GitHub
parent 6081fec894
commit 25869c4690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -48,12 +48,6 @@ namespace Microsoft.AspNetCore.WebSockets
// TODO: validate options.
}
[Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory.")]
public WebSocketMiddleware(RequestDelegate next, IOptions<WebSocketOptions> options)
: this(next, options, NullLoggerFactory.Instance)
{
}
public Task Invoke(HttpContext context)
{
// Detect if an opaque upgrade is available. If so, add a websocket upgrade.