Skip to main content

Interface: PayloadLimitsConfig

Experimental

Payload size-limit configuration for a connection.

Payload size-limit enforcement is an experimental feature; APIs may change without notice.

Properties​

memoWarnSize?​

optional memoWarnSize?: number

Experimental

Warning threshold, in bytes, for outbound memo size. Over-threshold memos are logged but still sent to the server. Set to 0 to disable.

Default​

2KiB

payloadsWarnSize?​

optional payloadsWarnSize?: number

Experimental

Warning threshold, in bytes, for the size of an outbound payload-bearing field. Over-threshold fields are logged but still sent to the server. Set to 0 to disable.

Default​

512KiB