1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 03:19:56 +00:00
TiddlyWiki5/editions/dev/tiddlers/new
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
..
Adding Babel Polyfill to TiddlyWiki.tid Move coding docs to the /dev wiki 2017-03-19 13:53:21 +00:00
Filter Operators.tid One more fix 2015-10-03 08:43:55 -04:00
Hook_ th-page-refreshed.tid Add new th-page-refreshed hook 2018-01-04 16:01:19 +00:00
Hook__th-deleting-tiddler.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Hook__th-editing-tiddler.tid Docs for #2901 2017-06-29 09:05:11 +01:00
Hook__th-importing-file.tid Add new hook "th-importing-files" 2017-10-11 17:52:37 +01:00
Hook__th-importing-tiddler.tid Add new hook "th-importing-files" 2017-10-11 17:52:37 +01:00
Hook__th-navigating.tid Add support for th-navigating event 2017-02-19 15:47:37 +00:00
Hook__th-relinking-tiddler.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Hook__th-renaming-tiddler.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Hook__th-server-command-post-start.tid Invoke hook when server starts (#3024) 2018-04-10 21:55:54 +01:00
HookMechanism.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
ImportLogging.tid Move docs for 5.1.5 release 2014-11-26 11:22:20 +00:00
th-opening-default-tiddlers-list.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
th-saving-tiddler.tid Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Using ES2016 for Writing Plugins.tid Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
Using Notifications.tid Docs tweaks for #2922 2017-06-28 17:58:58 +01:00