TcpServerOptionsValidator
Defined in: src/io/broker/TcpServerOptions.ts:83
Validates resolved TcpServerOptionsType settings.
Extends
Section titled “Extends”BrokerOptionsValidator<TcpServerOptionsType>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TcpServerOptionsValidator():
TcpServerOptionsValidator
Defined in: src/io/broker/TcpServerOptions.ts:84
Returns
Section titled “Returns”TcpServerOptionsValidator
Overrides
Section titled “Overrides”BrokerOptionsValidator<TcpServerOptionsType>.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
Inherited from
Section titled “Inherited from”BrokerOptionsValidator.validate
