nooschain / net/tls-config / buildFastifyHttpsOptions
Function: buildFastifyHttpsOptions()
buildFastifyHttpsOptions(
config,productionMode): {ca?:NonSharedBuffer;cert:NonSharedBuffer;key:NonSharedBuffer;rejectUnauthorized:boolean;requestCert:boolean; } |undefined
Defined in: net/tls-config.ts:92
Builds Fastify HTTPS options for the TypeScript HTTP API.
Parameters
config
productionMode
boolean
Returns
{ ca?: NonSharedBuffer; cert: NonSharedBuffer; key: NonSharedBuffer; rejectUnauthorized: boolean; requestCert: boolean; } | undefined