Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/@hono/node-server/dist/early-hints.d.mts from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 591 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40hono/node-server/dist/early-hints.d.mts
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/@hono/node-server/dist/early-hints.d.mts
-
curl -L -o early-hints.d.mts https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40hono/node-server/dist/early-hints.d.mts
591 Bytes
| import { Context, Env, MiddlewareHandler } from "hono"; | |
| //#region src/early-hints.d.ts | |
| type EarlyHintsOptions<E extends Env = Env> = { | |
| link: string | string[] | ((c: Context<E>) => string | string[] | undefined); | |
| }; | |
| /** | |
| * Early Hints middleware for Node.js | |
| * Automatically sends a 103 Early Hints informational response with the specified Link header(s). | |
| * | |
| * @param options EarlyHintsOptions | |
| * @returns MiddlewareHandler | |
| */ | |
| declare const earlyHints: <E extends Env = any>(options: EarlyHintsOptions<E>) => MiddlewareHandler<E>; | |
| //#endregion | |
| export { EarlyHintsOptions, earlyHints }; |