telefunc
Version:
Remote functions. Instead of API.
12 lines (11 loc) • 332 B
TypeScript
export { makeHttpRequest };
declare function makeHttpRequest(callContext: {
telefuncUrl: string;
httpRequestBody: string;
telefunctionName: string;
telefuncFilePath: string;
httpHeaders: Record<string, string> | null;
fetch: typeof globalThis.fetch | null;
}): Promise<{
telefunctionReturn: unknown;
}>;