-
https://www.dusign.net/2019/11/01/Hexo-Theme-Snail/
-
application.js 库
on-finished
``` js
require('on-finished')
```
判断res OutgoingMessage , req IncomingMessage, 的 状态(通过属性,socket状态)
- 如果已经结束,立即调用 listener
- 如果没有结束,用过ee-first , 给 finish,end,error 任意事件绑…
-
Hi,
I am using this lib with Typescript.
Do you plan to make a "@types/koa-cors" module? It's quite nice to have this when you're coding.
Thx
-
You should improve this tool's documentation guys!
-
# 知识点名称
## 官网
https://koajs.com/
![image](https://user-images.githubusercontent.com/18508817/89735155-1a07fc00-da93-11ea-8278-894e2df54637.png)
## 官方仓库
https://github.com/koajs/koa
…
-
I'd like to use a custom `koa` (express) server instead of `charge`, at least for production purposes... Would be nice if I could configure/hook the app config to use a custom server somehow? a functi…
-
Would it be possible to enable this? or create a switch
-
-
* should not search if path has extension
* should skip directories
-
https://github.com/koajs/session/blob/622a2d803ff0d42ff1620e3c576b089b3725a65f/index.js#L39
```js
session({
key: 'koa:sess', /** (string) cookie key (default is koa:sess) */
/** (number ||…