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

    Routes Full declaration Routes option Shorthand declaration Url building Async Await Promise resolution Route Prefixing Handling of / route inside prefixed plugins Custom L...
  • Logging

    Logging Log Redaction Logging Logging is disabled by default, and you can enable it by passing { logger: true } or { logger: { level: 'info' } } when you create a fastify ins...
  • Routes

    Routes Full declaration Shorthand declaration Url building Async Await Promise resolution Route Prefixing Handling of / route inside prefixed plugins Custom Log Level Confi...
  • Routes

    Routes Routes Full declaration Routes options Shorthand declaration Url building Async Await Promise resolution Route Prefixing Route Prefixing and fastify-plugin Handling o...
  • ContentTypeParser

    ContentTypeParser Content-Type Parser Usage hasContentTypeParser removeContentTypeParser removeAllContentTypeParsers Body Parser Custom Parser Options Catch-All Content...
  • Hooks

    Hooks Hooks Request/Reply Hooks onRequest preParsing preValidation preHandler preSerialization onError onSend onResponse onTimeout onRequestAbort Manage Errors from a ho...
  • Routes

    Routes Routes Full declaration Routes options Shorthand declaration Url building Async Await Promise resolution Route Prefixing Route Prefixing and fastify-plugin Handling o...
  • 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...
  • 日志

    Fastify 日志 日志修订 Fastify 日志 日志默认关闭,你可以在创建 Fastify 实例时传入 { logger: true } 或者 { logger: { level: 'info' } } 选项来开启它。要注意的是,日志无法在运行时启用。为此,我们使用了 abstract-logging 。 Fastify 专注于性...
  • Validation-and-Serialization

    Validation and Serialization ⚠ Security Notice Core concepts Adding a shared schema Retrieving the shared schemas Validation Ajv Plugins Validator Compiler Using other validat...