Variable httpProviderConst

httpProvider: Resource<"provider", "register", ProviderRegisterFn<Jimpex>> = ...

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
const http = container.get<HTTP>('http');

Generated using TypeDoc