mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 05:43:50 +02:00
Merge pull request #42 from yonathan06/main
Add "duplex: 'half'" to fetch stream example
This commit is contained in:
@@ -312,6 +312,7 @@ const output = new Output({
|
|||||||
const uploadComplete = fetch('https://example.com/upload', {
|
const uploadComplete = fetch('https://example.com/upload', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: readable,
|
body: readable,
|
||||||
|
duplex: 'half',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': output.format.mimeType,
|
'Content-Type': output.format.mimeType,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user