* @param {string} method The HTTP method to use for the request. * @param {string} path The path on the server to send the request to. * @param {Object=} opt_data This request's non-serialized JSON payload data.
(method, path, opt_data)
| 91 | * @param {Object=} opt_data This request's non-serialized JSON payload data. |
| 92 | */ |
| 93 | constructor(method, path, opt_data) { |
| 94 | this.method = /** string */ method |
| 95 | this.path = /** string */ path |
| 96 | this.data = /** Object */ opt_data |
| 97 | this.headers = /** !Map<string, string> */ new Map([['Accept', 'application/json; charset=utf-8']]) |
| 98 | } |
| 99 | |
| 100 | /** @override */ |
| 101 | toString() { |
nothing calls this directly
no outgoing calls
no test coverage detected