@override
()
| 99 | |
| 100 | /** @override */ |
| 101 | toString() { |
| 102 | let ret = `${this.method} ${this.path} HTTP/1.1\n` |
| 103 | ret += headersToString(this.headers) + '\n\n' |
| 104 | if (this.data) { |
| 105 | ret += JSON.stringify(this.data) |
| 106 | } |
| 107 | return ret |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | /** |
nothing calls this directly
no test coverage detected