leajs-eventsource

0.1.0 • Public • Published

leajs-eventsource

Plugin of leajs.

Eventsource implementation.

leajs.config

module.exports = {

  // …

  // Lookup to translate a url into a eventsource hook
  // $item (Object) Options object, which will have a write function once set up
  // $item.onConnect (Function) Callback which will be called with each new connection
  eventsource: {}, // Object

  // …

}

License

Copyright (c) 2018 Paul Pflugradt Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i leajs-eventsource

Weekly Downloads

57

Version

0.1.0

License

MIT

Unpacked Size

3.61 kB

Total Files

4

Last publish

Collaborators

  • paulpflug