Create a new retrieval request.
a path to the resource to retrieve or a Request object to copy
Optionalinit: RequestInitadditional configuration of the retrieval
ReadonlyheadersReadonlymethodReadonlyurlRetrieve the contents of the body.
Check if the contents of the body have been consumed.
Create a deep copy of this request.
Consume the contents of the body as JSON.
Consume the contents of the body as text.
Configures the way a resource is retrieved.