HTTP request routing and dispatch (static, SPA, server scripts).
Engine-internal — not for sandboxed app require.
Factory preserves the public signature:
requestHandler(req, res, apps, config, logger)
- Description:
- HTTP request routing and dispatch (static, SPA, server scripts). Engine-internal — not for sandboxed app require. Factory preserves the public signature: requestHandler(req, res, apps, config, logger)
Methods
(inner) createRequestHandler(deps) → {function}
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
deps |
object |
Properties
|
Returns:
- Type
- function