JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q29938F
  • License MIT

Injects a correlation id into every outgoing http request

Package Exports

  • ngx-correlation-id
  • ngx-correlation-id/package.json

Readme

Under development - please check again later

Getting started

Import the module into your app.module.ts

  imports: [
    BrowserModule,
    HttpClientModule,
    NgxCorrelationIdModule
  ],

Make a http request

http.get('https://www.google.com').subscribe();

Check the request header. There should be a x-correlation-id present

Release Notes

Version 0.2.0

  • CorrelationId comprise of only timestamp
  • Http request header x-correlation-id is used to carry the correlation id

TODO