(url, method, body = null)
| 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; |
no test coverage detected