* @param {!(Client|IThenable<!Client>)} client The client to use for sending * requests to the server, or a promise-like object that will resolve * to the client.
(client)
| 411 | * to the client. |
| 412 | */ |
| 413 | constructor(client) { |
| 414 | CLIENTS.set(this, client) |
| 415 | |
| 416 | /** @private {Map<string, CommandSpec>} */ |
| 417 | this.customCommands_ = null |
| 418 | |
| 419 | /** @private {!logging.Logger} */ |
| 420 | this.log_ = logging.getLogger(`${logging.Type.DRIVER}.http.Executor`) |
| 421 | } |
| 422 | |
| 423 | /** |
| 424 | * Defines a new command for use with this executor. When a command is sent, |