码迷,mamicode.com
首页 >  
搜索关键字:hapi    ( 41个结果
[Hapi.js] Managing State with Cookies
hapi has built-in support for parsing cookies from a request headers, and writing cookies to a response, making state management easy and straight-for
分类:Windows程序   时间:2016-03-01 06:18:59    阅读次数:247
[Hapi.js] Friendly error pages with extension events
hapi automatically responds with JSON for any error passed to a route's reply()method. But what if your application needs errors rendered in HTML? Thi
分类:Windows程序   时间:2016-02-29 07:05:44    阅读次数:248
[Hapi.js] Extending the request with lifecycle events
Instead of using middlware, hapi provides a number of points during the lifecycle of a request that you can hook-in to provide additional functionalit
分类:Windows程序   时间:2016-02-29 07:03:45    阅读次数:744
[Hapi.js] View engines
View engines, or template engines, allow you to maintain a clean separation between your presentation layer and the rest of your application. This pos
分类:Windows程序   时间:2016-02-29 07:02:37    阅读次数:278
[Hapi.js] Serving static files
hapi does not support serving static files out of the box. Instead it relies on a module called Inert. This lesson will cover serving static files usi
分类:Windows程序   时间:2016-02-28 22:55:46    阅读次数:338
[Hapi.js] Using the response object
When you use reply method: let resp = reply('hello world') It actually return an response object. By using response object, you can modiy the response
分类:Windows程序   时间:2016-02-28 21:26:02    阅读次数:328
[Hapi.js] Route parameters
Routing is a fundamental aspect of any framework. In this lesson, you'll learn how to use path parameters in hapi's router. We'll also touch on how th
分类:Windows程序   时间:2016-02-28 06:33:34    阅读次数:272
[Hapi.js] Replying to Requests
hapi's reply interface is one of it's most powerful features. It's smart enough to detect and serialize objects, buffers, promises and even streams. T
分类:Windows程序   时间:2016-02-28 06:32:15    阅读次数:309
[Hapi.js] Logging with good and good-console
hapi doesn't ship with logging support baked in. Luckily, hapi's rich plugin ecosystem includes everything needed to configure logging for your applic
分类:Windows程序   时间:2016-02-28 06:30:18    阅读次数:213
【转载】Express、Koa、Hapi框架对比
中文翻译:http://ourjs.com/detail/5490db1c8a34fa320400000e英文原文:https://www.airpair.com/node.js/posts/nodejs-framework-comparison-express-koa-hapi1 介绍Expres...
分类:Windows程序   时间:2016-01-06 01:30:32    阅读次数:328
41条   上一页 1 2 3 4 5 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!