This commit is contained in:
2026-03-03 23:49:13 +01:00
parent 1946f96bf8
commit 0ae7f9963f
6446 changed files with 1032754 additions and 34 deletions

12
node_modules/hono/dist/helper/streaming/text.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// src/helper/streaming/text.ts
import { TEXT_PLAIN } from "../../context.js";
import { stream } from "./index.js";
var streamText = (c, cb, onError) => {
c.header("Content-Type", TEXT_PLAIN);
c.header("X-Content-Type-Options", "nosniff");
c.header("Transfer-Encoding", "chunked");
return stream(c, cb, onError);
};
export {
streamText
};