A response to a http request.
Note: if you dont consume the response body you should call Response.body.close() (this is done automatically after 30 seconds if you don't, but if you're sending a lot of requests its better to do it yourself)
Response.body.close()
Optional
Read and decode the response body as json
Read the entire response body and return the raw Uint8Array for it.
Read and decode the reponse body as utf8 encoded text
Generated using TypeDoc
A response to a http request.
Note: if you dont consume the response body you should call
Response.body.close()
(this is done automatically after 30 seconds if you don't, but if you're sending a lot of requests its better to do it yourself)