书栈网 · BookStack 本次搜索耗时 0.047 秒,为您找到 1128 个相关结果.
  • Type-Providers

    Type-Providers Type Providers Providers Json Schema to Ts TypeBox Zod Scoped Type-Provider Type Definition of FastifyInstance + TypeProvider Type-Providers Type Provider...
  • Middleware

    Middleware Middleware Restrict middleware execution to certain paths Alternatives Middleware Middleware Starting with Fastify v3.0.0, middleware is not supported out of the ...
  • Getting-Started

    Getting-Started Getting Started Install Your first server Note Your first plugin Loading order of your plugins Validate your data Serialize your data Parsing request payload...
  • Getting-Started

    Getting Started Install Your first server Note Your first plugin Loading order of your plugins Validate your data Serialize your data Extend your server Test your server R...
  • Getting Started

    Getting Started Install Your first server Your first plugin Loading order of your plugins Validate your data Serialize your data Extend your server Test your server Run you...
  • 中间件

    Fastify 中间件 替代 Fastify 中间件 从 3.0.0 版本开始,Fastify 便不再内建地支持中间件了,你需要通过插件例如 fastify-express 或 middie 来使用它们。 以下是通过 fastify-express 插件,来使用 express 中间件的示例: await fastify . ...
  • Testing

    Testing Application Separating concerns makes testing easy Benefits of using fastify.inject() Testing with HTTP injection Another Example: Testing with a running server Example...
  • Testing

    Testing Application Separating concerns makes testing easy Benefits of using fastify.inject() Testing with HTTP injection Another Example: Testing with a running server Example...
  • Database

    Database Database MySQL Postgres Redis Mongo LevelDB Writing plugin for a database library Writing a plugin for a database engine Migrations Postgrator Database Datab...
  • Plugins

    Plugins Plugin Options Route Prefixing option Error handling async/await ESM support Create a plugin Handle the scope Plugins Fastify allows the user to extend its functi...