Ask questionsHow to retrieve the HttpContext from Blazor server-side ?
Well, I knew that after reading an article by Steve Anderson, but seems to have forgotten that... Thanks in advance.
Answer questions enetstudio
Thanks @MV10 , I actually wanted to know how I can arrive at code like this:
var cookies = Context.GetHttpContext().Request.Cookies;
Context is ConnectionContext , I believe. And this is a link to the a SignalR class that is supposed to return the HttpClient : https://github.com/aspnet/AspNetCore/blob/3cd5054eb5d8851b25881cd05cccb931aaa022e6/src/SignalR/server/SignalR/src/GetHttpContextExtensions.cs
What I looking for is a way to get client information such as IP address and browser name/version in Blazor server-side?