Skip to content

Commit 3700e18

Browse files
committed
feat(sse): refactor SSE handling to use SSEClient and improve event processing
1 parent d5d176a commit 3700e18

File tree

6 files changed

+496
-480
lines changed

6 files changed

+496
-480
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
.doc
1010
.todolist
1111
.log
12-
runtime
12+
runtime
13+
examples/local*

src/Client/Transport/Http/HttpTransport.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,6 @@ protected function connectStreamableHttp(): void
568568
$this->sendInitializedNotification();
569569

570570
// Mark as connected - SSE will be established on demand when needed
571-
$this->connected = true;
572-
$this->connectedAt = microtime(true);
573571
$this->protocolVersion = ProtocolConstants::PROTOCOL_VERSION_20250326;
574572
}
575573

0 commit comments

Comments
 (0)