You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in the example we have an echoloop, but how can we more realistically implement & pass a method & payload with the websocket which in turn calls a Web API controller let's say, and then returns that outgoing response from it.
Looking into it now, post when I get more info and/or get it working!
The text was updated successfully, but these errors were encountered:
well usually once you have the websocket, you just start sending messages, most common would be json messages, which then dispatch to handlers. I'll update and repost the pubsub demo (updated for core 1.0), which shows do I used message dispatching.
Thank you @zbrad, really appreciate the guidance!
I'm just used to doing it all with NodeJS (SocketIO and others make it extremely easy), it's a whole new world in .NET Core hasn't seemed as obvious to me how to receive data, pass it through some kind of Eventing System, run code on it, then return the result back through the websocket.
So in the example we have an echoloop, but how can we more realistically implement & pass a method & payload with the websocket which in turn calls a Web API controller let's say, and then returns that outgoing response from it.
Looking into it now, post when I get more info and/or get it working!
The text was updated successfully, but these errors were encountered: