Skip to main content

Class: HttpPluginOptionsFactoryStatic

A factory class for creating default Fastify HTTP plugin options. This class implements the Factory interface and provides a method to create an instance of FastifyHttpPluginOptions with default values, allowing for optional overrides.

Implements​

Constructors​

Constructor​

new HttpPluginOptionsFactoryStatic(): HttpPluginOptionsFactoryStatic

Returns​

HttpPluginOptionsFactoryStatic

Methods​

create()​

create(options?): FastifyHttpPluginOptions

Parameters​

options?​

Partial<Omit<FastifyHttpPluginOptions, "plugin" | "adapter">>

Returns​

FastifyHttpPluginOptions

Implementation of​

Factory.create