Synclets logoSynclets

TransportOptions

The TransportOptions type configures transport behaviors such as fragment sizes.

{fragmentSize?: number}
TypeDescription
fragmentSize?number

The fragmentSize option specifies the maximum packet size in bytes before messages are split into multiple fragments. This is useful for adapting to channel constraints like WebSocket frame size limits. The Transport handles fragmentation and reassembly automatically. If not specified, messages are not fragmented.

Since

v0.0.0