跳转到内容
简体中文

UdpSocketOptionsValidator

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

Defined in: src/io/broker/UdpSocketOptions.ts:53

Validates resolved UdpSocketOptionsType settings.

new UdpSocketOptionsValidator(): UdpSocketOptionsValidator

Defined in: src/io/broker/UdpSocketOptions.ts:54

UdpSocketOptionsValidator

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