Shared standards-based handler, context, method, and header contracts.
import {
createHttpContext,
type HttpHandler,
} from "@lucid-softworks/http-core";
const handler: HttpHandler = (_request, context) =>
new Response(context.requestId);
const request = new Request("https://example.com");
await handler(request, createHttpContext());Each context owns route parameters, a state map, a request ID, and a
runtime-neutral waitUntil hook.