maxInboundBytesPerSecond property
Sustained bytes per second one connection may send the hub, or null for no limit (the default: a relay transport can carry high-rate data).
maxFrameBytes bounds a frame, not a message: dart:io buffers a
fragmented message until its final frame, so a peer — before
authenticating, too — could stream an unbounded message as small
non-final frames. Set this on a hub reachable by untrusted clients; a
connection over budget is dropped.
Implementation
final int? maxInboundBytesPerSecond;