Skip to content

Add connection to hx-sse and hx-multipart event details - #3960

Merged
1cg merged 3 commits into
bigskysoftware:four-devfrom
scriptogre:4.0/expose-stream-connections
Aug 15, 2026
Merged

Add connection to hx-sse and hx-multipart event details#3960
1cg merged 3 commits into
bigskysoftware:four-devfrom
scriptogre:4.0/expose-stream-connections

Conversation

@scriptogre

@scriptogre scriptogre commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

PR #3910 exposes the connection on hx-ws message and error events.

This aligns hx-sse and hx-multipart:

  • SSE message events include connection.
  • Multipart part events include connection.
  • Stream and reconnect errors include connection.
  • SSE setup errors keep url because no connection exists yet.

The event's connection is the same object exposed by its before/after connection events.

@scriptogre scriptogre changed the title Expose connections in streaming data events Align hx-sse and hx-multipart with hx-ws event context Aug 14, 2026
@scriptogre scriptogre changed the title Align hx-sse and hx-multipart with hx-ws event context Add consistent connection context to hx-sse and hx-multipart events Aug 14, 2026
@scriptogre scriptogre changed the title Add consistent connection context to hx-sse and hx-multipart events Add connection to hx-sse and hx-multipart event details Aug 14, 2026
@1cg

1cg commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Thank you @scriptogre!

@1cg
1cg merged commit 8dbce72 into bigskysoftware:four-dev Aug 15, 2026
3 checks passed
@scriptogre
scriptogre deleted the 4.0/expose-stream-connections branch August 15, 2026 20:33
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