跳转到内容
简体中文

ExpressBackendOptionsValidator

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

Defined in: src/http/backend/ExpressBackendOptions.ts:52

Validates resolved ExpressBackendOptionsType settings.

new ExpressBackendOptionsValidator(): ExpressBackendOptionsValidator

Defined in: src/http/backend/ExpressBackendOptions.ts:53

ExpressBackendOptionsValidator

OptionsValidator<ExpressBackendOptionsType>.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

OptionsValidator.validate