fetchWithTimeout() — mcp Function Reference
Architecture documentation for the fetchWithTimeout() function in server.ts from the mcp codebase.
Entity Profile
Relationship Graph
Source Code
src/server.ts lines 42–48
const fetchWithTimeout: typeof fetch = (url, init) => {
return fetch(url, {
...init,
// @ts-ignore - 'dispatcher' is a valid undici option
dispatcher: agent,
});
};
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free