Method
RequestBody::rewind
Seek to the beginning of the stream.
Description#
public RequestBody::rewind(): voidIf the stream is not seekable, this method will raise an exception; otherwise, it will perform a seek(0).
Errors / Exceptions#
| Exception | When |
|---|---|
RuntimeException | On failure. |
See also#
RequestBody::seekSeek to a position in the stream.