ExpressBackendOptionsValidator
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/http/backend/ExpressBackendOptions.ts:52
Validates resolved ExpressBackendOptionsType settings.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ExpressBackendOptionsValidator():
ExpressBackendOptionsValidator
Defined in: src/http/backend/ExpressBackendOptions.ts:53
Returns
Section titled “Returns”ExpressBackendOptionsValidator
Overrides
Section titled “Overrides”OptionsValidator<ExpressBackendOptionsType>.constructor
Methods
Section titled “Methods”validate()
Section titled “validate()”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.
Parameters
Section titled “Parameters”settings
Section titled “settings”Partial<T>
Returns
Section titled “Returns”void
