Experimental Hooks
Hooks: server
logs
The 'logs' hook handles requests for getting and saving logs.
static
This hook is designed to declare additional static files (such as images, CSS, JavaScript) on the client side of your application, making them available through a specific URL. You can still access the public folder, which will be available at url '/'.
createServer
Use the 'createServer' hook if you need to configure and start the server. The hook receives a 'server' argument, which is an instance of Node HTTP Server. You can read more in the official documentation at the link https://nodejs.org/api/http.html#httpcreateserveroptions-requestlistener
serverUpgrade
This hook is designed to handle upgrading HTTP connection to WebSocket connection. This hook receives req, socket, head as arguments (args). You can learn more about the upgrade event from the official documentation at the link https://nodejs.org/api/http.html#event-upgrade
beforeStart
Use the 'beforeStart' hook to execute code before starting the Express server. This hook receives props as arguments, which include backend, server, expressApp, session.
transformSchema
Use the 'transformSchema' hook to modify the schema. This hook receives schema as an argument.