Skip to content

lea-js/leajs-eventsource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.