Azure / azure-functions-signalrservice-extension

Azure Functions bindings for SignalR Service. Project moved to https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/signalr/Microsoft.Azure.WebJobs.Extensions.SignalRService .
MIT License
97 stars 46 forks source link

MessagePack for Output bindings #281

Closed runtimeware closed 2 years ago

runtimeware commented 2 years ago

Having trouble finding the answer reading through the docs and the code - but is there a way to configure the extension to use MessagePack for signalr messages brokered over the output bindings (or anything else for that matter)?

Y-Sindo commented 2 years ago

With transient transport type (the default one), your JSON payload is converted into MessagePack payload automatically in the Azure SignalR Serive side. So you could have MessagePack client together with JSON client under transient transport type. However, you can't customize the MessagePack serialization.