* Gets the raw `Response` instance instead of parsing the response * data. * * If you want to parse the response body but still get the `Response` * instance, you can use withResponse().
()
| 554 | * instance, you can use {@link withResponse()}. |
| 555 | */ |
| 556 | asResponse(): Promise<Response> { |
| 557 | return this.responsePromise.then((p) => p.response); |
| 558 | } |
| 559 | |
| 560 | /** |
| 561 | * Gets the parsed response data and the raw `Response` instance. |