MCPcopy
hub / github.com/dream-num/univer / IMessageProtocol

Interface IMessageProtocol

packages/rpc/src/services/rpc/rpc.service.ts:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26/** This protocol is for transferring data from the two peer univer instance running in different locations. */
27export interface IMessageProtocol {
28 send(message: any): void;
29 onMessage: Observable<any>;
30}
31
32// TODO: change this parameter type to `Serializable`.
33

Callers 7

sendFunction · 0.65
constructorMethod · 0.65
_sendRequestMethod · 0.65
_sendResponseMethod · 0.65
takeHeapSnapshotFunction · 0.65
getMetricsFunction · 0.65

Implementers 6

TestMessageProtocolForClientpackages/rpc/src/services/rpc/__tests_
TestMessageProtocolForServerpackages/rpc/src/services/rpc/__tests_
XHRHTTPImplementationpackages/network/src/services/http/imp
FetchHTTPImplementationpackages/network/src/services/http/imp
MockHTTPImplementationpackages/network/src/services/http/__t
TestMessageProtocolpackages/rpc/src/services/rpc/__tests_

Calls

no outgoing calls

Tested by

no test coverage detected