maxFrameBytes property

int maxFrameBytes
final

Largest single WebSocket frame, in bytes.

On the hub this is handed to WebSocketTransformer.upgrade, which rejects at the frame's length header before any payload is buffered. On the client it is checked before a send, so an over-size frame fails locally and loudly instead of getting the connection killed remotely.

Implementation

final int maxFrameBytes;