BlazorSignalR
BlazorSignalR copied to clipboard
Fix binary protocols
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.
I noticed there's been some work happening on 'BlazorPack'
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
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
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