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

LibWeb: Implement FileAPI::Blob::stream()

This commit is contained in:
Shannon Booth 2023-06-13 07:36:00 +12:00 committed by Andreas Kling
parent 9f39be6e23
commit bd26d022ac
3 changed files with 9 additions and 0 deletions

View file

@ -43,6 +43,7 @@ public:
WebIDL::ExceptionOr<JS::NonnullGCPtr<Blob>> slice(Optional<i64> start = {}, Optional<i64> end = {}, Optional<String> const& content_type = {});
WebIDL::ExceptionOr<JS::NonnullGCPtr<Streams::ReadableStream>> stream();
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> text();
JS::Promise* array_buffer();