Skip to content

nooschain v0.1.0


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

NoosTlsConfig

productionMode

boolean

Returns

{ ca?: NonSharedBuffer; cert: NonSharedBuffer; key: NonSharedBuffer; rejectUnauthorized: boolean; requestCert: boolean; } | undefined

Audience-first NOOSChain documentation.