Aller au contenu
Français

TcpSocketOptionsValidator

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/io/broker/TcpSocketOptions.ts:58

Validates resolved TcpSocketOptionsType settings.

new TcpSocketOptionsValidator(): TcpSocketOptionsValidator

Defined in: src/io/broker/TcpSocketOptions.ts:59

TcpSocketOptionsValidator

BrokerOptionsValidator<TcpSocketOptionsType>.constructor

validate(settings): void

Defined in: src/util/OptionsValidator.ts:75

Check the (merged) settings; throws OptionsError on the first violation. Unset (undefined) fields always pass.

Partial<T>

void

BrokerOptionsValidator.validate