Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
export class Http1Service extends HttpClient { };
export class Http2Service extends HttpClient { };
providers: [
{provide: Http1Service, useClass: HttpClient},
{provide: Http2Service, useClass: HttpClient},
export class AppModule {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.