标签: javascript fetch
是否可以使用JavaScript fetch API 发送流?
fetch
例如:
const stream = new ReadableStream(…) // for example, as returned by `File.stream()` fetch('https://example.com/do-upload', { method: 'POST', body: stream, })