1.0.1 • Published 6 years ago

collector-client v1.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

collector-client

This api has three methods

The first one is called update. It is used to update the response from the server by adding a new header and options. Then it returns the updated response body

The second api method is called getStartMetric. This method declares a timestamp and a load key. Then proceeds to return patient data such as loadkey, ssotoken, timestamp, etc.

The third api method is called endMetrics. It declares some data to be used when the function postMetricsToPerfcol is invoked. This function returns the request promise native options.