(t2)
| 1148 | return e && (s.method = "POST", s.body = e), fetch(t2, s).then((t3) => t3.json()); |
| 1149 | } |
| 1150 | load(t2) { |
| 1151 | return t2 && (this._url = t2), this.fetch(this._url).then((t3) => this.parse(t3)); |
| 1152 | } |
| 1153 | parse(t2) { |
| 1154 | const { key: e, websocket: s } = t2; |
| 1155 | e && (this._token = t2.key); |
no test coverage detected