Enable compression on blazorpack · Issue #35897 · dotnet/aspnetcore (original) (raw)

I have inspect websocket messages on a very basic blazorserver application.
I have tried for example to set a textbox value to "Helloworld" when user clicks on a button.
Server sends about 300bytes to browser for applying helloworld to textbox.
I am working with a third party component for a Grid. Displaying 200 rows with 3 text columns costs about 600kbytes.
I have inspect packet and there is a lot of strange data on the top of the packet. I think this can be compressed.

Describe the solution you'd like

Blazorpack only allows text and binary format. I think it will be a good thing to allow on-the-fly compression of blazorpack messages