1 write to SerializerOptions
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2451
options.
SerializerOptions
= MessagePackSerializerOptions.Standard.WithResolver(CompositeResolver.Create(new CustomFormatter(), options.SerializerOptions.Resolver));
3 references to SerializerOptions
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
MessagePackHubProtocolOptions.cs (1)
20
/// If you modify the default options you must also assign the updated options back to the <see cref="
SerializerOptions
" /> property:
Protocol\MessagePackHubProtocol.cs (1)
50
_worker = new DefaultMessagePackHubProtocolWorker(options.Value.
SerializerOptions
);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.cs (1)
2451
options.SerializerOptions = MessagePackSerializerOptions.Standard.WithResolver(CompositeResolver.Create(new CustomFormatter(), options.
SerializerOptions
.Resolver));