(headers)
| 9108 | return __async(this, null, function* () { |
| 9109 | yield this[kAgent].destroy(); |
| 9110 | yield this[kClient].destroy(); |
| 9111 | }); |
| 9112 | } |
| 9113 | }; |
| 9114 | _getUrl = new WeakSet(); |
| 9115 | getUrl_fn = function(opts) { |
| 9116 | if (typeof opts === "string") { |
| 9117 | return new URL2(opts); |
| 9118 | } else if (opts instanceof URL2) { |
| 9119 | return opts; |
| 9120 | } else { |
| 9121 | return new URL2(opts.uri); |
| 9122 | } |