Skip to content

provideHttpConfig()

ts
function provideHttpConfig(httpConfig): FactoryProvider;

Defined in: providers/environment.provider.ts:17

Provide a HTTP configuration by InjectionToken

Internally, it uses the buildHttpConnectionString function to build the HTTP connection string based on the provided configuration.

Parameters

ParameterTypeDescription
httpConfigHttpConfigThe HTTP configuration

Returns

FactoryProvider

A FactoryProvider that simply builds the HTTP configurtion

Since

1.0.0

Author

Simon Kovtyk