Skip to content

API reference / @chanx-js/client / core / ValidateConfig

Interface: ValidateConfig ​

Defined in: packages/client/src/core/connection.ts:19

Properties ​

inbound? ​

ts
optional inbound?: boolean;

Defined in: packages/client/src/core/connection.ts:23

Validate every inbound frame. Costly on hot streams. Default: dev only.


outbound? ​

ts
optional outbound?: boolean;

Defined in: packages/client/src/core/connection.ts:21

Validate messages before sending. Cheap, and catches real bugs. Default true.

MIT licensed