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:
committed by
Facebook GitHub Bot
parent
8cf182cc26
commit
11a27f9e1a
@@ -233,6 +233,15 @@ export default class BaseDevice {
|
||||
return this.flipperServer.exec('metro-command', this.serial, command);
|
||||
}
|
||||
|
||||
async forwardPort(local: string, remote: string): Promise<void> {
|
||||
return this.flipperServer.exec(
|
||||
'device-forward-port',
|
||||
this.serial,
|
||||
local,
|
||||
remote,
|
||||
);
|
||||
}
|
||||
|
||||
supportsPlugin(plugin: PluginDefinition | PluginDetails) {
|
||||
let pluginDetails: PluginDetails;
|
||||
if (plugin instanceof _SandyPluginDefinition) {
|
||||
|
||||
Reference in New Issue
Block a user