headers

Provides convenient, internal access to the suspendable map of custom HTTP headers.

This extension property allows for easy, asynchronous manipulation of headers that will be included in all outgoing requests made by the Umami client. It retrieves the header map from the centrally managed UmamiOptions. Marked as InternalUmamiApi to indicate it is intended for use only within the Umami library.

Receiver

The Umami instance from which to get the header map.

Return

The SuspendMutableMap instance used for managing custom headers.