The service provider that once registered on the container will set an instance of
HTTP as the http service. The provider also checks the debug.logRequests
setting on the application configuration in order to enable or not the logging of
requests/responses.
Example
// Register it on the container container.register(httpProvider); // Getting access to the service instance consthttp = container.get<HTTP>('http');
The service provider that once registered on the container will set an instance of HTTP as the
http
service. The provider also checks thedebug.logRequests
setting on the application configuration in order to enable or not the logging of requests/responses.