BlazorSignalR icon indicating copy to clipboard operation
BlazorSignalR copied to clipboard

Fix binary protocols

Open csnewman opened this issue 5 years ago • 4 comments

Currently only text based protocols can be transmitted.

It is hard to measure whether any progress is being made on binary protocols when it seems MessagePack has its own issues running on Blazor. It would be helpful if anyone knew any other binary protocols.

csnewman avatar May 12 '19 14:05 csnewman

I noticed there's been some work happening on 'BlazorPack'

netclectic avatar May 15 '19 14:05 netclectic

I'm currently working on a custom hubprotocol based on Hyperion

https://github.com/akkadotnet/Hyperion There do seem to be more problems to binary protocols other than the underlying serialisation, when I have the hyperionhubprotocol implemented and working outside of blazor we can perhaps start tackling the general problems involving binary messages over websockets for blazorsignalr

NickyHeuperman avatar Sep 27 '19 18:09 NickyHeuperman

I think it has to do with the base64 encoding en decoding of message payloads https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding

NickyHeuperman avatar Oct 01 '19 11:10 NickyHeuperman

I've published a nuget package with the hyperion protocol, it's based on a fork of Hyperion available on my github.

https://nuget.nickyheuperman.nl/packages/CeFintech.AspNetCore.SignalR.Protocols.Hyperion

I have had no luck yet fixing binary protocols for BlazorSignalR

NickyHeuperman avatar Oct 09 '19 13:10 NickyHeuperman