0.0.1-beta • Published 4 years ago

egg-ws-server v0.0.1-beta

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

egg-ws

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-ws --save

Usage

// {app_root}/config/plugin.js
exports.ws = {
  enable: true,
  package: 'egg-ws',
};

Configuration

// {app_root}/config/config.default.js
exports.ws = {
  client: {
    /**
     * @var name ws name
     */
    name: 'ws name',

  },
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT