Skip to content
This repository was archived by the owner on Jan 4, 2022. It is now read-only.
This repository was archived by the owner on Jan 4, 2022. It is now read-only.

Add support for new HttpClient #170

@gund

Description

@gund

Angular 5 introduced new @angular/common/http library so we need to support it in some way.

  1. First approach:

    • Deprecate current HttpInterceptorModule
    • Create new module which will provide interception for the newer http module
    • Make sure that you can use both modules at the same time so that you can intercept requests made from both angular http clients
  2. Second approach:

    • Give user ability to pass http client he want to use for interception and then library will use that and provide wrapped version of it for DI.

This will be nicer way but requires some investigation.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions