Decouple Server from TransportInterface for reusability (#160)

This commit is contained in:
落月 2025-11-30 18:21:21 +08:00 • committed by GitHub
commit 280e8b62be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,11 +21,11 @@ use Psr\Log\LoggerInterface;
use Symfony\Component\Uid\Uuid;
/**
* @implements TransportInterface<ResponseInterface>
* @extends BaseTransport<ResponseInterface>
*
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
* */
class StreamableHttpTransport extends BaseTransport implements TransportInterface
*/
class StreamableHttpTransport extends BaseTransport
{
private ResponseFactoryInterface $responseFactory;
private StreamFactoryInterface $streamFactory;