aotrautils-srv 0.0.135 → 0.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-17:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-17:33:57)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
4830
|
|
|
4831
|
-
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-17:
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-17:33:57)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -5187,10 +5187,21 @@ WebsocketImplementation={
|
|
|
5187
5187
|
};
|
|
5188
5188
|
|
|
5189
5189
|
|
|
5190
|
+
|
|
5191
|
+
|
|
5190
5192
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocketParam.addEventListener("message", doOnMessage);
|
|
5191
5193
|
else clientSocketParam.on(channelName, doOnMessage);
|
|
5192
5194
|
|
|
5193
5195
|
|
|
5196
|
+
|
|
5197
|
+
// DBG
|
|
5198
|
+
nodeServerInstance.serverSocket.on("protocol",()=>{
|
|
5199
|
+
|
|
5200
|
+
// DBG
|
|
5201
|
+
lognow("FUUUUUUUUUUUUUUUUUUUCK");
|
|
5202
|
+
|
|
5203
|
+
});
|
|
5204
|
+
|
|
5194
5205
|
|
|
5195
5206
|
|
|
5196
5207
|
},
|
|
@@ -5291,7 +5302,7 @@ WebsocketImplementation={
|
|
|
5291
5302
|
foreach(nodeServerInstance.receptionEntryPoints,(receptionEntryPoint)=>{
|
|
5292
5303
|
|
|
5293
5304
|
// DBG
|
|
5294
|
-
console.log("ENTRY POINT !");
|
|
5305
|
+
console.log("ENTRY POINT !",clientSocket);
|
|
5295
5306
|
|
|
5296
5307
|
receptionEntryPoint.execute(clientSocket);
|
|
5297
5308
|
});
|
|
@@ -5300,8 +5311,6 @@ WebsocketImplementation={
|
|
|
5300
5311
|
doOnConnection(nodeServerInstance, clientSocket);
|
|
5301
5312
|
|
|
5302
5313
|
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
5314
|
// To make the server aware of the clients connections states :
|
|
5306
5315
|
clientSocket.stateCheckInterval=setInterval(()=>{
|
|
5307
5316
|
|
|
@@ -5850,6 +5859,9 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
5850
5859
|
|
|
5851
5860
|
// TRACE
|
|
5852
5861
|
console.log("INFO : SERVER : Generic Nodejs server launched and listening on port:" + port + "!");
|
|
5862
|
+
|
|
5863
|
+
|
|
5864
|
+
|
|
5853
5865
|
|
|
5854
5866
|
|
|
5855
5867
|
return server;
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.136",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|