appium-remote-debugger
Version:
Appium proxy for Remote Debugger protocol
32 lines • 1.1 kB
TypeScript
import { RpcClient } from './rpc-client';
import type { RemoteCommand } from '../types';
/**
* RPC client implementation for real iOS devices.
* Extends RpcClient to provide device-specific connection handling.
*/
export declare class RpcClientRealDevice extends RpcClient {
protected service?: any;
/**
* Connects to the Web Inspector service on a real iOS device.
* Starts the Web Inspector service and sets up message listening.
*/
connect(): Promise<void>;
/**
* Disconnects from the Web Inspector service on the real device.
* Closes the service connection and cleans up resources.
*/
disconnect(): Promise<void>;
/**
* Sends a command message to the Web Inspector service.
*
* @param cmd - The command to send to the device.
*/
sendMessage(cmd: RemoteCommand): Promise<void>;
/**
* Receives data from the Web Inspector service and handles it.
*
* @param data - The data received from the service.
*/
receive(data: any): Promise<void>;
}
//# sourceMappingURL=rpc-client-real-device.d.ts.map