Skip to content

Add msg measurement for MsgPack serialization #2

@AntyaDev

Description

@AntyaDev

SignalR supports MsgPack.

var connection = new HubConnectionBuilder()
    .WithUrl("https://localhost:5001/chatHub")
    .AddMessagePackProtocol()
    .Build();

It would be nice to somehow extract the message protocol from the connection. If not possible, then we can ask the Client to set the message protocol.

new SignalRConnection(connection, Serialization.MessagePack) // it can be optional parameter

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions