Skip to main content

Class: WebSocketPluginOptionsFactoryStatic

A factory class for creating default Socket.IO WebSocket plugin options. This class implements the Factory interface and provides a method to create an instance of SocketIOWebSocketPluginOptions with default values, allowing for optional overrides.

Implements​

Constructors​

Constructor​

new WebSocketPluginOptionsFactoryStatic(): WebSocketPluginOptionsFactoryStatic

Returns​

WebSocketPluginOptionsFactoryStatic

Methods​

create()​

create(options?): SocketIOWebSocketPluginOptions

Parameters​

options?​

Partial<Omit<SocketIOWebSocketPluginOptions, "adapter" | "plugin">>

Returns​

SocketIOWebSocketPluginOptions

Implementation of​

Factory.create