UpdateHeaders parameter in GetEventStore's sample repository implementation

Hi,
I was looking for an example for the UpdateHeaders delegate passed to the Save method in

https://github.com/EventStore/getting-started-with-event-store/blob/master/src/GetEventStoreRepository/GetEventStoreRepository.cs

Does anyone have a sample implementation of this?

Thanks,

Arun

Its just a Action<IDictionary<string, object>>

Basically its so you can add any custom headers you might want to.

I guess I should have framed the question differently :slight_smile: Why would one need custom headers? What purpose would they serve?

-Arun

As an example you might wish to put in the metadata which user it was
that did the event or maybe the ip address of the server

Ah ok, makes sense. Thanks