/* * Copyright (c) 2022, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #include namespace Web::Fetch::Infrastructure { Body::Body(JS::Handle stream) : m_stream(move(stream)) { } Body::Body(JS::Handle stream, SourceType source, Optional length) : m_stream(move(stream)) , m_source(move(source)) , m_length(move(length)) { } }