UNPKG

@nestjs/platform-fastify

Version:

Run NestJS on Fastify: the HTTP adapter with Fastify's plugins, JSON schemas and serialization.

13 lines (12 loc) • 434 B
import type { FastifyListenOptions } from 'fastify'; /** * @publicApi */ export interface NestFastifyListenOptions extends FastifyListenOptions { /** * A file descriptor of a socket that is already bound, such as the one * systemd passes on socket activation. Not supported on Windows. * @see [server.listen(handle)](https://nodejs.org/api/net.html#serverlistenhandle-backlog-callback) */ fd?: number; }