Merge branch 'resumability' into ihrpr/resume-long-running-requests
This commit is contained in:
commit
84c2618c1e
2 changed files with 2 additions and 2 deletions
|
|
@ -1000,7 +1000,7 @@ describe("StreamableHTTPServerTransport with resumability", () => {
|
|||
const eventId = idMatch![1];
|
||||
expect(storedEvents.has(eventId)).toBe(true);
|
||||
const storedEvent = storedEvents.get(eventId);
|
||||
expect(eventId.startsWith('standalonesse')).toBe(true);
|
||||
expect(eventId.startsWith('_GET_stream')).toBe(true);
|
||||
expect(storedEvent?.message).toMatchObject(notification);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ export class StreamableHTTPServerTransport implements Transport {
|
|||
private _requestResponseMap: Map<RequestId, JSONRPCMessage> = new Map();
|
||||
private _initialized: boolean = false;
|
||||
private _enableJsonResponse: boolean = false;
|
||||
private _standaloneSseStreamId: string = 'standalonesse';
|
||||
private _standaloneSseStreamId: string = '_GET_stream';
|
||||
private _eventStore?: EventStore;
|
||||
|
||||
sessionId?: string | undefined;
|
||||
|
|
|
|||
Loading…
Reference in a new issue