UNPKG
trystero
Version:
beta (0.21.0-beta.1)
latest (0.21.6)
next (0.19.0-beta0)
0.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.21.0-beta.1
0.20.1
0.20.0
0.19.0
0.19.0-beta0
0.18.0
0.17.0
0.16.0
0.15.2
0.15.1
0.15.0
0.14.0
0.13.1
0.13.0
0.12.1
0.12.0
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.1
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.15
0.7.14
0.7.13
0.7.12
0.7.11
0.7.10
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.3
0.0.2
0.0.1
0.0.0
Serverless WebRTC matchmaking for painless P2P
github.com/dmotz/trystero
dmotz/trystero
trystero
/
src
/
mqtt.d.ts
13 lines
(9 loc)
•
288 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
declare
module
'trystero/mqtt'
{
import
{
BaseRoomConfig
,
RelayConfig
,
Room
}
from
'trystero'
export
function
joinRoom
(
config
:
BaseRoomConfig
&
RelayConfig
,
roomId
:
string
):
Room
export
function
getRelaySockets
(
):
Record
<
string
,
WebSocket
>
export
*
from
'trystero'
}