microService-node
Ctrlk
  • 简介
  • NodeJS 简介
  • 开发资料与规范
  • 框架使用
  • 架构模块
    • restify
      • 快速入门
      • API
        • Server API
        • Request API
        • Response API
        • Plugins API
      • 指导
    • restify-errors 模块
    • WebSocket(Socket.IO)
    • Bunyan - 日志模块
    • swagger-routes - 路由模块
    • swagger-test-templates模块
    • typescript 模块
    • APM
  • 开发模块
  • 单元测试相关模块
  • 其他模块
  • 附录:package.json
  • 附录:WebStorm
  • 附录:.gitignore/npmignore
  • 附录:nodejs 调试
  • 附录:资料
  • 附录:npm命令与发布npm包
  • 下一代框架-LoopBack
  • UmiJS
  • nest 框架
  • egg.js
  • 资料
Powered by GitBook
On this page

Was this helpful?

  1. 架构模块
  2. restify
  3. API

Plugins API

  • Usage

  • server.pre() plugins

    • context

    • dedupeSlashes

    • pause

    • sanitizePath

    • reqIdHeaders

    • strictQueryParams

    • userAgentConnection

  • server.use() plugins

    • acceptParser

    • authorizationParser

    • dateParser

    • queryParser

    • jsonp

    • bodyParser

    • requestLogger

    • gzipResponse

    • serveStatic

    • throttle

    • requestExpiry

      • Using an external storage mechanism for key/bucket mappings.

    • inflightRequestThrottle

    • cpuUsageThrottle

    • conditionalHandler

    • conditionalRequest

    • auditLogger

    • metrics

  • Types

    • metrics~callback

PreviousResponse APINext指导

Last updated 6 years ago

Was this helpful?