matrix-appservice
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,6 @@ | ||
v0.3.2 | ||
------ | ||
Expanded `AppService.listen` to accept more parameters to control how the service | ||
listens for connections. | ||
v0.3.1 | ||
@@ -2,0 +7,0 @@ ------ |
@@ -177,5 +177,8 @@ "use strict"; | ||
* @param {Number} port The port to listen on. | ||
* @param {String} hostname Optional hostname to listen on | ||
* @param {Number} backlog Maximum length of the queue of pending connections | ||
* @param {Function} callback The callback for the "listening" event | ||
*/ | ||
AppService.prototype.listen = function(port) { | ||
this.app.listen(port); | ||
AppService.prototype.listen = function(port, hostname, backlog, callback) { | ||
this.app.listen(port, hostname, backlog, callback); | ||
}; | ||
@@ -182,0 +185,0 @@ |
{ | ||
"name": "matrix-appservice", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Matrix Application Service Framework", | ||
@@ -5,0 +5,0 @@ "main": "./index", |
30587
398