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

    446 2020-05-28 《FunDebug 文档》
    监控Hapi 监控Hapi server . on ( "request-error" , fundebug . HapiErrorHandler ); server . on ( "response" , fundebug . HapiErrorHandler );
  • Getting Started

    Getting Started Overview Installing hapi Creating a Server Adding Routes Everything Else Getting Started Overview This tutorial will show how to set up a basic hapi serv...
  • Authentication

    Authentication Overview Schemes authenticate payload response Strategies Default Strategy Route Configuration basic cookie Authentication This tutorial is compatible ...
  • 快速入门

    快速入门 安装 hapi 创建一个Web服务器 添加路由 建立静态内容 使用插件 其他 快速入门 该教程适用于 hapi v17版本 安装 hapi 新建一个目录 myproject : 运行: cd myproject 跳转到目录内。 运行: npm init 根据提示生成文件 package.json。 运行: n...
  • Testing

    Testing Overview lab code Server Setup Writing a Route Test Testing This tutorial is compatible with hapi v17 Overview Hapi is designed for creating robust, testable ap...
  • Views

    Views Overview Vision Configuring the server server.views() Options Engines Paths Global context View helpers Layouts Rendering a view h.view() View handler Views T...
  • Plugins

    Plugins Overview Creating a plugin The register method Loading a plugin Registration options Plugins This tutorial is compatible with hapi v17 Overview hapi has an exte...
  • Serving Static Content

    Serving Static Content Overview Inert Relative paths h.file(path, [options]) File handler File handler options Directory handler Directory handler options Static file serve...
  • Validation

    Validation Overview Joi Input Validation Path parameters Query parameters Payload parameters Headers Output response.failAction response.sample response.status response.o...
  • Routing

    Routing Overview Methods Path Optional Parameters Multi-Segment Parameters Query Parameters Request Payload Handler Options 404 Handling Routing This tutorial is comp...