Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 717 Bytes

core.requestoptions.headers.md

File metadata and controls

20 lines (11 loc) · 717 Bytes

Home > @cerbos/core > RequestOptions > headers

RequestOptions.headers property

Headers to add to the request.

Signature:

headers?: HeadersInit | undefined;

Remarks

Headers can be included in the policy decision point's audit logs by setting the includeMetadataKeys or excludeMetadataKeys fields in the audit configuration block.

The User-Agent header is set using Options.userAgent.