c# - How to get IOwinContext from SignalR hub? -
c# - How to get IOwinContext from SignalR hub? -
how access iowincontext signalr hub (for instance hubcallercontext)?
you can access iowincontext current connected client via hubcallercontext (context property of hub base of operations class):
context.request.gethttpcontext().getowincontext() gethttpcontext extension under microsoft.aspnet.signalr , getowincontext extension under system.web, create sure you're using both of namespaces.
c# .net signalr owin signalr-hub
Comments
Post a Comment