cliffhall
f383a9cb8c
* In sse.test.ts
...
- More specific expectations in test "uses custom fetch implementation from options"
* In sse.ts
- Import FetchLike from transport.ts
* In steramableHttp.ts
- Import FetchLike from transport.ts
- Export StartSSEOptions interface for testing
* In streamableHttp.test.ts
- import StartSSEOptions from streamableHttp.ts
- use StartSSEOptions instead of any in test "uses custom fetch implementation"
* In transport.ts
- Add FetchLike function type
2025-07-01 14:00:56 -04:00
Cliff Hall
e5167cbe20
Update streamableHttp custom fetch test
2025-07-01 13:20:28 -04:00
Diego García
be063e4bb8
fix: extra Headers when they are a Headers object
2025-05-30 16:05:05 +02:00
Frédéric Barthelet
eb486d5cbc
Add auth flow on 401 during POST request test case on StreamableHTTP transport
2025-04-25 16:27:58 +02:00
ihrpr
5dba9477ff
small fixes after suggested changes
2025-04-17 17:34:15 +01:00
ihrpr
c053c2e97d
handle session termination
2025-04-16 11:56:28 +01:00
ihrpr
8bc49f9f34
change names to resumptionToken instead of last event id
2025-04-15 22:06:10 +01:00
ihrpr
621e65c42b
Merge branch 'resumability' into ihrpr/resume-long-running-requests
2025-04-15 11:14:39 +01:00
ihrpr
67a4595ae7
improve event store interface
2025-04-15 11:03:44 +01:00
ihrpr
7aeb67988a
improve comments
2025-04-14 09:37:19 +01:00
ihrpr
6374f43390
limit on retries
2025-04-13 15:18:52 +01:00
ihrpr
64fadf3cf2
resume streams on error - initial implementation
2025-04-13 08:26:49 +01:00
ihrpr
18e4981bd3
move get sse stream from a separate method to automatic connection when notifications/initialized received
2025-04-11 14:06:51 +01:00
Antoine Beauvais-Lacasse
a76004c92b
StreamableHTTPClientTransport cleanup / fixes
...
* always send headers specified in requestInit option
* avoid doubled onerror call
* use for-await to iterate SSE stream
* remove outdated comments
* simplify requestId tracking
* throw error when response Content-Type is out of spec
2025-04-09 21:18:50 -04:00
ihrpr
1d18a57a17
extract standalone get into a method which can be called by a client
2025-04-09 09:50:59 +01:00
ihrpr
d4ad976401
use EventSourceParserStream
2025-04-08 21:39:49 +01:00
ihrpr
c3b446d424
multiple streams and initial stream with get
2025-04-08 11:11:09 +01:00
ihrpr
640ae5a863
initial client implementation
2025-04-08 09:43:22 +01:00