Skip to content

Add EventSourceBuilder for configuring EventSource with credentials#530

Merged
Madoshakalaka merged 3 commits intoranile:masterfrom
zn3x:master
Mar 23, 2026
Merged

Add EventSourceBuilder for configuring EventSource with credentials#530
Madoshakalaka merged 3 commits intoranile:masterfrom
zn3x:master

Conversation

@zn3x
Copy link
Copy Markdown
Contributor

@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.

Copy link
Copy Markdown
Collaborator

@Madoshakalaka Madoshakalaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks clean. Thanks

@Madoshakalaka Madoshakalaka merged commit 6d9c763 into ranile:master Mar 23, 2026
19 checks passed
Copilot AI pushed a commit that referenced this pull request Mar 24, 2026
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.

2 participants