Skip to content

Add EventSourceBuilder for configuring EventSource with credentials#530

Open
zn3x wants to merge 2 commits intoranile:masterfrom
zn3x:master
Open

Add EventSourceBuilder for configuring EventSource with credentials#530
zn3x wants to merge 2 commits intoranile:masterfrom
zn3x:master

Conversation

@zn3x
Copy link

@zn3x zn3x commented Feb 2, 2026

This PR adds an EventSourceBuilder to allow creating EventSource instances with custom options, specifically withCredentials for cross-origin requests #286.

Proposed changes:

  • Added EventSourceBuilder which should be future proof if other options need to be added later.
  • Kept existing API intact in order not to break existing codebases using gloo-net.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant