Documentation

Std.Http.Data.Body.Replayable

Body.Replayable #

A typeclass for HTTP body types whose content can be re-read from the start.

Body.Full implements Replayable; Body.Stream does not because its bytes come from a live producer that has already been consumed and cannot be rewound.

A body that can be re-read from the start.

  • resetInPlace : αAsync.Async Unit

    Resets this body's read state in place so it can be read from the start again.

Instances