1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-03-26 01:29:49 +00:00
Files
TiddlyWiki5/core/modules
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
..
2018-03-19 15:46:07 +00:00
2018-04-08 09:37:49 +01:00
2018-03-23 09:35:39 +00:00
2017-02-04 17:24:25 +00:00
2017-09-26 17:10:57 +01:00
2018-03-05 11:11:49 +00:00