The controller that returns the base mountebank hypermedia
- Source:
Methods
get(request, response)
The function that responds to GET /
Parameters:
Name | Type | Description |
---|---|---|
request |
Object | the HTTP request |
response |
Object | the HTTP response |
- Source:
(inner) create(releases) → {Object}
Creates the home controller
Parameters:
Name | Type | Description |
---|---|---|
releases |
Object | The releases.json file |
- Source:
Returns:
The controller
- Type
- Object