Skip to main content
Glama
text.js349 B
// 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 };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Valerio357/bet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server