+1 vote
by (2.0k points)

We are currently using SignalR Client (Microsoft.AspNetCore.SignalR.Client.HubConnection).
I am working on replacing this with Rebex.WebSocket.
When using Rebex.WebSocket, I am wondering if it is possible to communicate with SignalR server.
Also, if Microsoft SignalR server or WebSocket server uses MessagePack, I am not sure what to do with Rebex.WebSocket.

If you have any information for reference, please let me know.

Thank you.
BooKyung Oh.

Applies to: Rebex WebSocket

1 Answer

0 votes
by (147k points)

Unfortunately, SignalR only uses WebSocket as a transport layer for its own custom protocol, so if you wanted to communicate with SignalR using only a WebSocket client, you would have to implement at least some parts of its protocol on top of WebSocket layer yourself. See Is there a way to use signalr as a pure websocket server on StackOverflow for some information on this.

...