1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

LibWeb: Stub out Fetch::Infrastructure::Body::clone()

This commit is contained in:
Linus Groh 2022-09-25 19:25:53 +01:00
parent ef5e2eb794
commit a7164f2674
6 changed files with 38 additions and 14 deletions

View file

@ -29,6 +29,8 @@ public:
[[nodiscard]] SourceType const& source() const { return m_source; }
[[nodiscard]] Optional<u64> const& length() const { return m_length; }
[[nodiscard]] WebIDL::ExceptionOr<Body> clone() const;
private:
// https://fetch.spec.whatwg.org/#concept-body-stream
// A stream (a ReadableStream object).