跳转到内容
简体中文

TcpServerOptionsValidator

此内容尚不支持你的语言。

Defined in: src/io/broker/TcpServerOptions.ts:83

Validates resolved TcpServerOptionsType settings.

new TcpServerOptionsValidator(): TcpServerOptionsValidator

Defined in: src/io/broker/TcpServerOptions.ts:84

TcpServerOptionsValidator

BrokerOptionsValidator<TcpServerOptionsType>.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