EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
63 stars 20 forks source link

Support custom headers. #289

Closed YoEight closed 2 days ago

YoEight commented 1 week ago

Added: Support custom headers.

Fixes #286

Now, you can add custom headers at request options level:

 AppendToStreamOptions options = AppendToStreamOptions.get()
                .expectedRevision(ExpectedRevision.noStream())
                .header("header1", "value1")
                .header("header2", "value2");