dotnet / dotnet/aspnetcore

SignalR - Outbound bytes size

Open
#46,609 4 comments 0 reactions 0 assignees View on GitHub
area-signalr
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

Hello,

Do we have any way to understand the bytes size of an outbound message in SignalR?

Maybe some kind of interceptor, that would be able to get payload metadata, after the serialization phase? As I understand Hub Filters are executed before the serialization.
Or maybe there's some kind of SignalR Diagnostic source that I can subscribe.
Another option would be sending preserialized data, so that we can count the bytes before sending it, but as I understand that's not supported.

Thanks in advance.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.