From f8fd2551f99d053151abf60f796c9724c253ac92 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Sun, 22 Jan 2017 12:17:27 +0200 Subject: [PATCH] inited stream transport implementation --- src/stream/Request.php | 27 +++++++++++++++++++++++++++ src/stream/Response.php | 26 ++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 src/stream/Request.php create mode 100644 src/stream/Response.php diff --git a/src/stream/Request.php b/src/stream/Request.php new file mode 100644 index 0000000..507bb13 --- /dev/null +++ b/src/stream/Request.php @@ -0,0 +1,27 @@ + + */ +class Request extends AbstractRequest +{ + protected $workerClass = RequestWorker::class; + + protected function createWorker() + { + } +} diff --git a/src/stream/Response.php b/src/stream/Response.php new file mode 100644 index 0000000..9cb4b18 --- /dev/null +++ b/src/stream/Response.php @@ -0,0 +1,26 @@ + + */ +class Response extends AbstractResponse +{ + /** + * @var ResponseWorker + */ + protected $worker; +}