WebsocketClientOptionsValidator
이 콘텐츠는 아직 번역되지 않았습니다.
Defined in: src/http/websocket/WebsocketClientOptions.ts:90
Validates resolved WebsocketClientOptionsType settings.
Extends
Section titled “Extends”BrokerOptionsValidator<WebsocketClientOptionsType<TOut,TIn>>
Type Parameters
Section titled “Type Parameters”TOut = unknown
TIn = unknown
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new WebsocketClientOptionsValidator<
TOut,TIn>():WebsocketClientOptionsValidator<TOut,TIn>
Defined in: src/http/websocket/WebsocketClientOptions.ts:92
Returns
Section titled “Returns”WebsocketClientOptionsValidator<TOut, TIn>
Overrides
Section titled “Overrides”BrokerOptionsValidator<WebsocketClientOptionsType<TOut, TIn>>.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
