diff options
author | 2022-09-26 20:04:28 -0700 | |
---|---|---|
committer | 2022-09-26 20:04:28 -0700 | |
commit | 24a9bc23b7e1c7911cb2e146be199d940b9729e6 (patch) | |
tree | 852a75cff3950063b405ca3a0dfe22e46d0eecfb /src/bun.js/bindings/headers.h | |
parent | 97c3688788a94faffb6bceb4bc6c97fb84307ceb (diff) | |
download | bun-24a9bc23b7e1c7911cb2e146be199d940b9729e6.tar.gz bun-24a9bc23b7e1c7911cb2e146be199d940b9729e6.tar.zst bun-24a9bc23b7e1c7911cb2e146be199d940b9729e6.zip |
[Web Streams] Add `body` to `Response` and `Request` (#1255)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/headers.h')
-rw-r--r-- | src/bun.js/bindings/headers.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index b251568f9..49b26d394 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -1,5 +1,5 @@ // clang-format off -//-- AUTOGENERATED FILE -- 1663900299 +//-- AUTOGENERATED FILE -- 1663581060 #pragma once #include <stddef.h> @@ -822,6 +822,12 @@ ZIG_DECL JSC__JSValue ByteBlob__JSReadableStreamSource__load(JSC__JSGlobalObject ZIG_DECL JSC__JSValue FileBlobLoader__JSReadableStreamSource__load(JSC__JSGlobalObject* arg0); #endif + +#ifdef __cplusplus + +ZIG_DECL JSC__JSValue ByteStream__JSReadableStreamSource__load(JSC__JSGlobalObject* arg0); + +#endif CPP_DECL JSC__JSValue ArrayBufferSink__assignToStream(JSC__JSGlobalObject* arg0, JSC__JSValue JSValue1, void* arg2, void** arg3); CPP_DECL JSC__JSValue ArrayBufferSink__createObject(JSC__JSGlobalObject* arg0, void* arg1); CPP_DECL void ArrayBufferSink__detachPtr(JSC__JSValue JSValue0); |