Class: WebSocketService
Defined in: submodules/univer/packages/network/src/services/web-socket/web-socket.service.ts:54
This service create a WebSocket connection to a remote server.
Extends
Implements
Constructors
new WebSocketService()
new WebSocketService(): WebSocketService
Returns
Inherited from
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
Methods
createSocket()
createSocket(URL): Nullable<ISocket>
Defined in: submodules/univer/packages/network/src/services/web-socket/web-socket.service.ts:55
Parameters
Parameter | Type |
---|---|
URL | string |
Returns
Implementation of
dispose()
dispose(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void