using Microsoft.AspNetCore.Http;
namespace Znyc.CloudCar.Middlewares
{
///
/// 中间件
/// SignalR发送数据
///
public class SignalRSendMildd
{
///
///
///
private readonly RequestDelegate _next;
// private readonly IHubContext _hubContext;
///
///
///
///
///
public SignalRSendMildd(RequestDelegate next)
{
_next = next;
}
public async Task InvokeAsync(HttpContext context)
{
await _next(context);
}
}
}