remove approval language from SSE extension

This commit is contained in:
Carson Gross
2026-03-02 08:45:40 -07:00
parent c2583632f9
commit 126b1be2c1

View File

@@ -8,7 +8,7 @@ SSE is a lightweight alternative to WebSockets that works over existing HTTP con
## Installing
Include the extension script after htmx and approve it:
Just include the extension script after htmx:
```html
<head>
@@ -17,12 +17,6 @@ Include the extension script after htmx and approve it:
</head>
```
Approve the extension via meta tag:
```html
<meta name="htmx-config" content='{"extensions": "sse"}'>
```
## How It Works
The SSE extension hooks into htmx's request pipeline. When any htmx request receives a response with `Content-Type: text/event-stream`, the extension takes over and streams SSE messages into the DOM instead of performing a normal swap.