new ControllerRequest(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | Object containing the properties |
Properties:
Name | Type | Description |
---|---|---|
params |
Object | inherited from Request , object containing the parameters |
route |
Object | route object |
Extends
- Request
Methods
-
<abstract> destruct()
-
Called when the ControllerRequest is destructed, this should be overridden in a Controller and stop all listeners for that Controller.
-
sync(data)
-
Syncs data for a route, will call the Router#sync(route, data) method
Parameters:
Name Type Description data