phasync
RequestBody / rewind

Method

RequestBody::rewind

Seek to the beginning of the stream.

Description#

public RequestBody::rewind(): void

If the stream is not seekable, this method will raise an exception; otherwise, it will perform a seek(0).

Errors / Exceptions#

ExceptionWhen
RuntimeExceptionOn failure.

See also#