Package Exports
- @mimik/request-helper
- @mimik/request-helper/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mimik/request-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
request-helper
Example
const { getCorrelationId } = require('@mimik/request-helper');request-helper~getCorrelationId(request) ⇒ UUID.<string>
Get the correlationId from the request. If it does not exist, a new correlationId will be created.
Kind: inner method of request-helper
Returns: UUID.<string> - The correlationId.
Category: sync
| Param | Type | Description |
|---|---|---|
| request | object |
The request from which to extract the correlationId. |