rsocket-tcp-server
Advanced tools
Comparing version 0.0.2 to 0.0.4
@@ -9,3 +9,3 @@ /** | ||
* | ||
* | ||
* | ||
*/ | ||
@@ -12,0 +12,0 @@ |
@@ -9,3 +9,3 @@ /** | ||
* | ||
* | ||
* | ||
*/ | ||
@@ -28,4 +28,4 @@ | ||
/** | ||
* A TCP transport server. | ||
*/ | ||
* A TCP transport server. | ||
*/ | ||
class RSocketTCPServer { | ||
@@ -66,3 +66,5 @@ constructor(options, encoders) { | ||
if (!server) { | ||
server = _net2.default.createServer(onConnection); | ||
const factory = | ||
this._options.serverFactory || _net2.default.createServer; | ||
server = factory(onConnection); | ||
server.listen(this._options.port, this._options.host); | ||
@@ -69,0 +71,0 @@ server.on('error', onError); |
{ | ||
"name": "rsocket-tcp-server", | ||
"description": "RSocket TCP server", | ||
"version": "0.0.2", | ||
"version": "0.0.4", | ||
"repository": { | ||
@@ -13,7 +13,7 @@ "type": "git", | ||
"fbjs": "^0.8.12", | ||
"rsocket-core": "^0.0.2", | ||
"rsocket-flowable": "^0.0.2", | ||
"rsocket-tcp-client": "^0.0.2", | ||
"rsocket-types": "^0.0.2" | ||
"rsocket-core": "^0.0.4", | ||
"rsocket-flowable": "^0.0.4", | ||
"rsocket-tcp-client": "^0.0.4", | ||
"rsocket-types": "^0.0.4" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92
3300
+ Addedrsocket-core@0.0.4(transitive)
+ Addedrsocket-flowable@0.0.4(transitive)
+ Addedrsocket-tcp-client@0.0.4(transitive)
+ Addedrsocket-types@0.0.4(transitive)
- Removedrsocket-core@0.0.2(transitive)
- Removedrsocket-flowable@0.0.2(transitive)
- Removedrsocket-tcp-client@0.0.2(transitive)
- Removedrsocket-types@0.0.2(transitive)
Updatedrsocket-core@^0.0.4
Updatedrsocket-flowable@^0.0.4
Updatedrsocket-tcp-client@^0.0.4
Updatedrsocket-types@^0.0.4