Remove Obsolete WebSocketMiddleware constructor (#7163)
This commit is contained in:
parent
6081fec894
commit
25869c4690
|
|
@ -48,12 +48,6 @@ namespace Microsoft.AspNetCore.WebSockets
|
||||||
// TODO: validate options.
|
// 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)
|
public Task Invoke(HttpContext context)
|
||||||
{
|
{
|
||||||
// Detect if an opaque upgrade is available. If so, add a websocket upgrade.
|
// Detect if an opaque upgrade is available. If so, add a websocket upgrade.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue