- Summary
Specify where the body of a response will be saved.- Types
-
- Default
PHP temp stream- Constant
GuzzleHttp\RequestOptions::SINK
Pass a string to specify the path to a file that will store the contents of theresponse body:
Pass a Psr\Http\Message\StreamInterface
object to stream the responsebody to an open PSR-7 stream.
The save_to
request option has been deprecated in favor of the request option. Providing the save_to
option is now an aliasof sink
.