Last post Aug 06, 2020 10:19 AM by XuDong Peng
Aug 05, 2020 09:20 AM|Malay K. Pattanayak|LINK
Till I found from internet is, we can add streaming methods inside HUB class, is there a way to write streaming methods outside HUB class ?
Aug 06, 2020 10:19 AM|XuDong Peng|LINK
Hi Malay K. Pattanayak,
I want to know what you expect to achieve.
If you want to use the streaming method alone, you may need to customize the class and inherit IHub, you can refer to Simple
SignalR Data Streaming Infrastructure Out-of-the-Box to get More information.
Or do you want to create your own class and async method, and then use it in the hub class? If so, refer to
this case, it may help you.