how to user httpcontext in aspnet core signalr
Closed this issue · 1 comments
tokaika commented
HttpContext.Connection.RemoteIpAddress.ToString();
Context.Request.HttpContext.RequestServices.GetService().
cannot find in hub ..
yoyofx commented
RemoteIP 可以在 建议在 Http请求里获取。
新关注我的新项目: https://github.com/yoyofx/yoyogo 使用Go语言复刻ASP.NET Core.