UNPKG

h3

Version:

Minimal H(TTP) framework built for high performance and portability.

24 lines (23 loc) 567 B
import { l as H3Plugin, r as H3Event } from "./h3-D76FUMrE.mjs"; interface TracingRequestEvent { type: "middleware" | "route"; event: H3Event; } /** * Options for the tracing plugin. */ interface TracingPluginOptions { /** * Whether to trace middleware executions. */ traceMiddleware?: boolean; /** * Whether to trace route executions. */ traceRoutes?: boolean; } /** * Enables tracing for H3 apps. */ declare function tracingPlugin(traceOpts?: TracingPluginOptions): H3Plugin; export { TracingPluginOptions, TracingRequestEvent, tracingPlugin };