1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-08 07:00:03 +00:00
Arlen22 2163302190 Invoke hook when server starts (#3024)
* Invoke hook when server starts

Invokes the `th-server-command-start` hook when the server is started, with the server object as the parameter. This allows adding a WebSocket listener to the server.

* Return the HTTP server from the listen function

Returns the node HTTP server created in the listen function to allow extension

* Add node HTTP server to server-command-start hook

* Change hook to post start in case we add a pre-start hook

* Create Hook__th-server-command-post-start.tid
2018-04-10 21:55:54 +01:00
..
2014-08-30 20:44:26 +01:00
2014-04-25 22:41:59 +01:00
2015-01-11 15:00:54 +00:00
2014-02-25 14:50:18 +00:00
2017-07-12 17:14:27 +01:00
2017-07-12 16:50:50 +01:00
2014-07-12 09:09:36 +01:00
2014-04-27 08:28:21 +01:00
2012-09-02 21:00:24 +01:00
2017-09-12 16:04:07 +01:00
2017-09-12 16:04:07 +01:00
2014-06-11 10:05:35 +01:00
2014-05-15 18:50:14 +01:00