Support forward command [6/n]

Summary: Support the adb forward command

Reviewed By: jameslawson

Differential Revision: D31055957

fbshipit-source-id: bc0593320d0e187ddfc8120c1684746f9e9c4cf5
This commit is contained in:
Michel Weststrate
2021-09-22 09:01:29 -07:00
committed by Facebook GitHub Bot
parent 8cf182cc26
commit 11a27f9e1a
6 changed files with 25 additions and 0 deletions

View File

@@ -258,6 +258,8 @@ export class FlipperServerImpl implements FlipperServer {
}
device.sendCommand(command);
},
'device-forward-port': async (serial, local, remote) =>
this.getDevice(serial).forwardPort(local, remote),
};
registerDevice(device: ServerDevice) {