WebSockets realisation

Hi. I need to implement bidirectional communication between a client and a server, SSE can send a message to the client but the client is responsible long enough, whether it is possible to implement WebSocket in ServiceStack?

Don’t know what you mean by implement WebSocket in ServiceStack, but ServiceStack does not use WebSockets and we don’t have any plans of creating a different SSE solution based on it. In .NET Core you may be able to use the new just released SignalR, then call your ServiceStack classes from within a SignalR server handler.

I’m not sure what you’re usecase is that requires WSS, but having clients call Services and getting responses via SSE is pretty easy.

1 Like