diff --git a/src/Server/Transport/StreamableHttpTransport.php b/src/Server/Transport/StreamableHttpTransport.php index 297cad17..28ca547e 100644 --- a/src/Server/Transport/StreamableHttpTransport.php +++ b/src/Server/Transport/StreamableHttpTransport.php @@ -208,7 +208,7 @@ protected function createStreamedResponse(): ResponseInterface return $this->withCorsHeaders($response); } - private function handleFiberTermination(): void + protected function handleFiberTermination(): void { $finalResult = $this->sessionFiber->getReturn(); @@ -227,7 +227,7 @@ private function handleFiberTermination(): void $this->sessionFiber = null; } - private function flushOutgoingMessages(?Uuid $sessionId): void + protected function flushOutgoingMessages(?Uuid $sessionId): void { $messages = $this->getOutgoingMessages($sessionId);