MCPcopy
hub / github.com/appium/appium / proxyCommand

Method proxyCommand

lib/jsonwp-proxy/proxy.js:255–263  ·  view source on GitHub ↗
(url, method, body = null)

Source from the content-addressed store, hash-verified

253 }
254
255 async proxyCommand (url, method, body = null) {
256 const commandName = this.requestToCommandName(url, method);
257 if (!commandName) {
258 return await this.proxy(url, method, body);
259 }
260 log.debug(`Matched '${url}' to command name '${commandName}'`);
261
262 return await this.protocolConverter.convertAndProxy(commandName, url, method, body);
263 }
264
265 async command (url, method, body = null) {
266 let response;

Callers 2

commandMethod · 0.95
proxyReqResMethod · 0.95

Calls 3

requestToCommandNameMethod · 0.95
proxyMethod · 0.95
convertAndProxyMethod · 0.80

Tested by

no test coverage detected