UpdateHeaders parameter in GetEventStore's sample repository implementation

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


Does anyone have a sample implementation of this?



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?


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