The controller that exposes the mountebank configuration for the running process
- Source:
Methods
get(request, response)
The method that responds to GET /config
Parameters:
Name | Type | Description |
---|---|---|
request |
Object | The HTTP request |
response |
Object | The HTTP response |
- Source:
(inner) create(version, options) → {Object}
Creates the config controller
Parameters:
Name | Type | Description |
---|---|---|
version |
string | The version of the currently running process |
options |
Object | The command line options used to start mb |
- Source:
Returns:
- Type
- Object