| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.11.14 source code.tar.gz | 2026-03-16 | 2.6 MB | |
| 4.11.14 source code.zip | 2026-03-16 | 3.1 MB | |
| README.md | 2026-03-16 | 797 Bytes | |
| Totals: 3 Items | 5.7 MB | 0 | |
:rocket: New Feature
- Add
stream()method toAjaxclass for SSE (Server-Sent Events) streaming over XMLHttpRequest. Returns anAsyncGenerator<string>that yields parseddata:fields incrementally viaonprogress.
```js const ajax = new Jodit.modules.Ajax({ method: 'POST', url: '/api/ai/stream', contentType: 'application/json', data: { prompt: 'Hello' } });
try { for await (const data of ajax.stream()) { const event = JSON.parse(data); editor.s.insertHTML(event.text); } } finally { ajax.destruct(); } ```
:memo: Documentation
- Rewrite
src/core/request/README.mdwith full API reference, usage examples, SSE streaming guide, AbortController integration, and real-world patterns (FileBrowser, Uploader, plugins).