UNPKG

apitally

Version:

Simple API monitoring & analytics for REST APIs built with Express, Fastify, NestJS, AdonisJS, Hono, H3, Elysia, Hapi, and Koa.

11 lines (8 loc) 381 B
import { RequestEvent } from '@hapi/hapi'; import { AsyncLocalStorage } from 'node:async_hooks'; import { LogRecord } from '../common/requestLogger.js'; import 'node:buffer'; import 'node:http'; import '../common/tempGzipFile.js'; declare function handleHapiRequestEvent(event: RequestEvent, logsContext: AsyncLocalStorage<LogRecord[]>): void; export { handleHapiRequestEvent };