Function rewind_body
Attempts to rewind a message body and throws an exception on failure.
The body of the message will only be rewound if a call to tell()
returns a
value other than 0
.
Namespace: GuzzleHttp\Psr7
Deprecated: rewind_body will be removed in guzzlehttp/psr7:2.0. Use Message::rewindBody instead.
Located at functions.php
Deprecated: rewind_body will be removed in guzzlehttp/psr7:2.0. Use Message::rewindBody instead.
Located at functions.php
Parameters summary
|
$message |
Message to rewind |
Thrown exceptions summary
RuntimeException
|
\RuntimeException |