Decouple Server from TransportInterface for reusability (#160)
This commit is contained in:
parent
532d102c4e
commit
280e8b62be
1 changed files with 77 additions and 91 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue