Created
September 18, 2018 10:10
-
-
Save wKoza/214727e8bb0bcc2a765e60f4f73feb02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class Http1Service extends HttpClient { }; | |
export class Http2Service extends HttpClient { }; | |
@NgModule({ | |
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