随笔分类 -  Node后端:Koa

koa-session 知识点
摘要:github 网址:https://github.com/koajs/session session 是一个对象 阅读全文

posted @ 2019-07-31 16:28 cag2050 阅读(162) 评论(0) 推荐(0) 编辑

express 与 koa 区别
摘要:express 与 koa 区别 区别项 | express | koa | | 中间件模型 | Compress 模型 | 洋葱圈模型 对象个数 | 只有2个对象:Request 和 Response | 有3个对象:Request、Response、Context (Koa 增加了 Contex 阅读全文

posted @ 2018-10-13 01:03 cag2050 阅读(473) 评论(0) 推荐(0) 编辑

koa 学习资料
摘要:koa 学习资料 学习资料 | 地址 | koa 中文版 | https://koa.bootcss.com/ 阅读全文

posted @ 2018-09-29 23:45 cag2050 阅读(136) 评论(0) 推荐(0) 编辑

koa2 知识点
摘要:koa2 常用功能: 假设 Koa 提供的 Context 对象的实例为 ctx table th:first of type { width: 200px; } table th:nth of type(2) { } 语句 | 作用 | ctx.response.body | 发送给用户的内容 c 阅读全文

posted @ 2017-09-15 16:08 cag2050 阅读(262) 评论(0) 推荐(0) 编辑

koa 知识点
摘要:1. Koa 不支持 直接调用底层 res 进行响应处理。请避免使用以下 node 属性: res.statusCode res.writeHead() res.write() res.end() 2. 阅读全文

posted @ 2016-12-09 14:10 cag2050 阅读(161) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示