SpacetimeDB icon indicating copy to clipboard operation
SpacetimeDB copied to clipboard

client-api: Send WebSocket messages fragmented

Open kim opened this issue 6 months ago • 0 comments

RFC 6455, Section 5.4 describes message fragmentation, and we can do that with tungstenite.

It does seem to help getting control messages (ping, pong, close) through without head-of-line blocking.

Expected complexity level and risk

2 - Need to test with clients

Testing

TBD - some more abstraction is needed due to the difficulty of synthetically producing a large outgoing message.

kim avatar Jul 11 '25 10:07 kim