Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 664 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 664 Bytes

think-websocket

Build Status Coverage Status npm

WebSocket Extend for ThinkJS 3.x

Install

npm install think-websocket

How to Use

Edit config file src/config/extend.js, add options:

const websocket = require('think-websocket');
module.exports = [
  // ...
  websocket(think.app),
];