method ConsulProvider.prototype.headers
ConsulProvider.prototype.headers(): Record<string, string>

Headers every request carries; the ACL header is omitted when unset.

Return Type

Record<string, string>

Usage

import { ConsulProvider } from "service-discovery-plugin/src/index.ts";