UNPKG

@u4/adbkit

Version:

A Typescript client for the Android Debug Bridge.

15 lines 556 B
"use strict"; 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 TcpCommand extends command_1.default { async execute(port, host) { await this._send(`tcp:${port}` + (host ? `:${host}` : '')); await this.readOKAY(); return this.parser.raw(); } } exports.default = TcpCommand; //# sourceMappingURL=tcp.js.map