0.1.0 • Published 6 years ago
leajs-eventsource v0.1.0
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.
0.1.0
6 years ago