Skip to main content
Glama
response.d.ts872 B
import { OutgoingHttpHeaders } from 'node:http'; declare const getResponseCache: unique symbol; declare const cacheKey: unique symbol; type InternalCache = [ number, string | ReadableStream, Record<string, string> | Headers | OutgoingHttpHeaders ]; declare const GlobalResponse: { new (body?: BodyInit | null, init?: ResponseInit): globalThis.Response; prototype: globalThis.Response; error(): globalThis.Response; json(data: any, init?: ResponseInit): globalThis.Response; redirect(url: string | URL, status?: number): globalThis.Response; }; declare class Response { #private; [getResponseCache](): globalThis.Response; constructor(body?: BodyInit | null, init?: ResponseInit); get headers(): Headers; get status(): number; get ok(): boolean; } export { GlobalResponse, type InternalCache, Response, cacheKey };

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