TREEcg / event-stream-client

Deprecated! Use the rdf-connect/ldes-client instead
https://github.com/rdf-connect/ldes-client
Other
14 stars 9 forks source link

Feat: custom header support #61

Closed elpoelma closed 1 year ago

elpoelma commented 2 years ago

Allow the option to pass a custom header object when creating an instance of EventStream. This is useful when the endpoint requires specific headers such as Authorization headers.

brechtvdv commented 1 year ago

Pushed to main branch, apparently it doesn't automatically close this PR.

I added also the option to the LDESClient.ts