function onListening() {
    let addr = server.address();
    let bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port;
    console.log('Listening on ' + bind);
}
/**
 * Event listener for HTTP server "listening" event.
 */
Event listener for HTTP server "listening" event.
Event listener for HTTP server " listening " event .
function onListening() {
    let addr = server.address();
    let bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port;
    console.log('Listening on ' + bind);
}
function onListening ( ) { let addr = server . address ( ) ; let bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr . port ; console . log ( 'Listening on ' + bind ) ; }
Event listener for HTTP server "listening" event.
Event listener for HTTP server " listening " event .