build-travis-ci
released this
05 Jul 08:55
·
576 commits
to master
since this release
Minor Changes
-
67144d2: feat(http): add the possibility to add global interceptors for every calls that got through @talend/http calls
Usage:
import { addHttpResponseInterceptor, HTTP_STATUS } from '@talend/http'; addHttpResponseInterceptor('logout', (response: Response): void => { if (response.status === HTTP_STATUS.UNAUTHORIZED) { logout(); } });