Reference
Exported Types
All types are exported from the root RoExpress module and forward directly from their source module — they can never drift out of sync. Import them with require(RoExpress).TypeName or use the typed accessor helpers.
Import
-- Types are inferred automatically via GetApp() and GetNetwork()
types
Request Types
The incoming side of a route handler. Covers the
Request object fields, the raw Payload envelope, and the RouteHandler function signature including both compact and legacy forms.
Request · Payload · RouteHandler
→
types
Response Types
The outgoing side of a route handler. Covers the
Response object methods, the NetworkResponse received by the client, and the MiddlewareHandler signature.
Response · NetworkResponse · MiddlewareHandler
→
See also
App | Request, Response, RouteHandler in use · Network | NetworkResponse in use · Request Pipeline | how Payload flows through stages · Reference Overview | module context matrix · Migration Guide | how types changed in v2.4