UNPKG
@devexcelsior/healing-webrtc-relay
Version:
latest (0.0.7-declassified)
0.0.7-declassified
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Peer-to-peer healing relay using WebRTC for disconnected UI recovery
@devexcelsior/healing-webrtc-relay
/
dist
/
index.d.ts
9 lines
(8 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
class
HealingPeerRelay
{
private
connection;
constructor
(
);
createOffer
():
Promise
<
string
>;
receiveAnswer
(
answer
:
string
):
Promise
<
void
>;
onSignal
(
callback
:
(
data
:
any
) =>
void
):
void
;
sendSignal
(
data
:
any
):
void
; }