Skip to main content
在 Bun 中,Response 接受 Node.js 的 Readable 作为其正文。 这是因为 Bun 的 Response 接受任何异步可迭代对象作为其正文,而 Node.js 流是异步可迭代对象。
server.ts