Aller au contenu
Français

SseOptionsValidator

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

Defined in: src/io/broker/SseOptions.ts:46

Validates resolved SseOptionsType settings.

new SseOptionsValidator(): SseOptionsValidator

Defined in: src/io/broker/SseOptions.ts:47

SseOptionsValidator

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