@u4/adbkit
Version:
A Typescript client for the Android Debug Bridge.
16 lines • 607 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __importDefault(require("../../command"));
class ForwardCommand extends command_1.default {
async execute(serial, local, remote) {
await this._send(`host-serial:${serial}:forward:${local};${remote}`);
await this.readOKAY();
await this.readOKAY();
return true;
}
}
exports.default = ForwardCommand;
//# sourceMappingURL=forward.js.map