net-server-events-listening
v0.1.2
Published
a net.Server event handler for the listening event
Downloads
2
Maintainers
Readme
net-server-events-listening
a net.Server event handler for the listening event
table of contents
notes
- expects
this
to be bound to the server instance - expects
server.address()
to be a callable function
installation
npm install net-server-events-listening
api
/**
* @returns {undefined}
*/
function listeningEvent()
usage
basic
var listening = require( 'net-server-event-listening' )
var server = https.createServer( ssloptions, app )
server.on( 'listening', listening )