forked from cory/tildefriends
Eh?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4037 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@@ -30,6 +30,14 @@ tfrpc.register(async function getBroadcasts() {
|
||||
tfrpc.register(async function getConnections() {
|
||||
return ssb.connections();
|
||||
});
|
||||
tfrpc.register(async function connectionSendJson(id, message) {
|
||||
return ssb.connectionSendJson(id, message);
|
||||
});
|
||||
tfrpc.register(async function createTunnel(portal, request_number, target) {
|
||||
print('createTunnel', portal, request_number, target);
|
||||
let t = ssb.createTunnel(portal, request_number, target);
|
||||
return t;
|
||||
});
|
||||
tfrpc.register(async function connect(token) {
|
||||
await ssb.connect(token);
|
||||
});
|
||||
|
Reference in New Issue
Block a user