Interface: ISocket
Defined in: submodules/univer/packages/network/src/services/web-socket/web-socket.service.ts:35
An interface that represents a socket connection.
Properties
Methods
close()
close(code?, reason?): void
Defined in: submodules/univer/packages/network/src/services/web-socket/web-socket.service.ts:38
Parameters
Parameter | Type |
---|---|
code ? | number |
reason ? | string |
Returns
void
send()
send(data): void
Defined in: submodules/univer/packages/network/src/services/web-socket/web-socket.service.ts:43
Send a message to the remote server.
Parameters
Parameter | Type |
---|---|
data | SocketBodyType |
Returns
void