server-factory.d.ts — fastify Source File
Architecture documentation for server-factory.d.ts, a typescript file in the fastify codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fd258fcb_283e_13c6_f37b_f8435d8f086c["server-factory.d.ts"] 36d8862b_caf4_88a2_ba4d_4f7ed0738291["./utils"] fd258fcb_283e_13c6_f37b_f8435d8f086c --> 36d8862b_caf4_88a2_ba4d_4f7ed0738291 bd94e3ff_2705_51a0_bac0_884f2c38b615["node:http"] fd258fcb_283e_13c6_f37b_f8435d8f086c --> bd94e3ff_2705_51a0_bac0_884f2c38b615 663b99b5_576e_9407_ccf2_377b37f4ae0d["node:https"] fd258fcb_283e_13c6_f37b_f8435d8f086c --> 663b99b5_576e_9407_ccf2_377b37f4ae0d 3e7d58ec_f92a_95db_e97c_fb49a00b5105["node:http2"] fd258fcb_283e_13c6_f37b_f8435d8f086c --> 3e7d58ec_f92a_95db_e97c_fb49a00b5105 style fd258fcb_283e_13c6_f37b_f8435d8f086c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { RawServerBase, RawServerDefault, RawReplyDefaultExpression, RawRequestDefaultExpression } from './utils'
import * as http from 'node:http'
import * as https from 'node:https'
import * as http2 from 'node:http2'
export type FastifyServerFactoryHandler<
RawServer extends RawServerBase = RawServerDefault,
RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>
> =
RawServer extends http.Server | https.Server ?
(request: http.IncomingMessage & RawRequest, response: http.ServerResponse & RawReply) => void :
(request: http2.Http2ServerRequest & RawRequest, response: http2.Http2ServerResponse & RawReply) => void
export interface FastifyServerFactory<
RawServer extends RawServerBase = RawServerDefault
> {
(handler: FastifyServerFactoryHandler<RawServer>, opts: Record<string, unknown>): RawServer;
}
Domain
Subdomains
Functions
Dependencies
- ./utils
- node:http
- node:http2
- node:https
Source
Frequently Asked Questions
What does server-factory.d.ts do?
server-factory.d.ts is a source file in the fastify codebase, written in typescript. It belongs to the CoreKernel domain, InstanceFactory subdomain.
What functions are defined in server-factory.d.ts?
server-factory.d.ts defines 1 function(s): request.
What does server-factory.d.ts depend on?
server-factory.d.ts imports 4 module(s): ./utils, node:http, node:http2, node:https.
Where is server-factory.d.ts in the architecture?
server-factory.d.ts is located at types/server-factory.d.ts (domain: CoreKernel, subdomain: InstanceFactory, directory: types).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free