The options to construct the service.
Protected Readonly_The application configuration, to get the version and the postMessagesPrefix.
Protected Readonly_The utility service to get HTTP status codes.
Protected_Generates a basic HTML template for the service to use when generating a post message response.
The HTML <title /> attribute.
Javascript code to be wrapped on a <script /> tag.
Protected_Utility method used to make sure a received status is a valid status code. If the
status is a string, the method will try to find the code from the statuses package.
The status to normalize.
If status is a string, but there's no valid code, it will return 200.
Generates and send an HTML response that emits a post message.
The post message will be prefixed with the value of the configuration setting
postMessagesPrefix.
The options to customize how the HTML is generated.
Generates and sends a JSON response.
The options to customize how the JSON is generated.
A utility service to build responses.