Skip to content

WebSocket for ThinkJS 3.x

License

Notifications You must be signed in to change notification settings

thinkjs/think-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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),
];