aotrautils-srv 0.0.135 → 0.0.138

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:20:58)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-01:14:24)»*/
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:20:58)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-01:14:24)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5187,12 +5187,21 @@ WebsocketImplementation={
5187
5187
  };
5188
5188
 
5189
5189
 
5190
+ // CURRENT :
5191
+ lognow(">>>> WebsocketImplementation.useSocketIOImplementation:",WebsocketImplementation.useSocketIOImplementation);
5192
+
5193
+
5194
+
5190
5195
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocketParam.addEventListener("message", doOnMessage);
5191
5196
  else clientSocketParam.on(channelName, doOnMessage);
5192
5197
 
5198
+ // // DBG
5199
+ // nodeServerInstance.serverSocket.on("protocol",()=>{
5200
+ // // DBG
5201
+ // lognow("FUUUUUUUUUUUUUUUUUUUCK");
5202
+ // });
5193
5203
 
5194
5204
 
5195
-
5196
5205
  },
5197
5206
  };
5198
5207
 
@@ -5293,6 +5302,9 @@ WebsocketImplementation={
5293
5302
  // DBG
5294
5303
  console.log("ENTRY POINT !");
5295
5304
 
5305
+ // CURRENT 0 ;
5306
+ ////
5307
+
5296
5308
  receptionEntryPoint.execute(clientSocket);
5297
5309
  });
5298
5310
 
@@ -5300,8 +5312,6 @@ WebsocketImplementation={
5300
5312
  doOnConnection(nodeServerInstance, clientSocket);
5301
5313
 
5302
5314
 
5303
-
5304
-
5305
5315
  // To make the server aware of the clients connections states :
5306
5316
  clientSocket.stateCheckInterval=setInterval(()=>{
5307
5317
 
@@ -5850,6 +5860,9 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
5850
5860
 
5851
5861
  // TRACE
5852
5862
  console.log("INFO : SERVER : Generic Nodejs server launched and listening on port:" + port + "!");
5863
+
5864
+
5865
+
5853
5866
 
5854
5867
 
5855
5868
  return server;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.135",
3
+ "version": "0.0.138",
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)",