@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use Nekland\Woketo\Rfc6455\MessageProcessor; |
| 25 | 25 | use Nekland\Woketo\Utils\SimpleLogger; |
| 26 | 26 | use Psr\Log\LoggerInterface; |
| 27 | -use Psr\Log\LogLevel; |
|
| 28 | 27 | use React\EventLoop\LoopInterface; |
| 29 | 28 | use React\Socket\ConnectionInterface; |
| 30 | 29 | use React\Socket\ServerInterface; |
@@ -12,18 +12,18 @@ |
||
| 12 | 12 | namespace Nekland\Woketo\Client; |
| 13 | 13 | |
| 14 | 14 | |
| 15 | -use Nekland\Woketo\Core\AbstractConnection; |
|
| 16 | -use Nekland\Woketo\Exception\Http\IncompleteHttpMessageException; |
|
| 17 | -use Nekland\Woketo\Exception\RuntimeException; |
|
| 18 | -use Nekland\Woketo\Exception\WebsocketException; |
|
| 19 | -use Nekland\Woketo\Http\Response; |
|
| 20 | -use Nekland\Woketo\Http\Url; |
|
| 21 | -use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 22 | -use Nekland\Woketo\Rfc6455\Frame; |
|
| 23 | -use Nekland\Woketo\Rfc6455\Handshake\ClientHandshake; |
|
| 24 | -use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 25 | -use React\EventLoop\LoopInterface; |
|
| 26 | -use React\Promise\PromiseInterface; |
|
| 15 | +use Nekland\Woketo\Core\AbstractConnection; |
|
| 16 | +use Nekland\Woketo\Exception\Http\IncompleteHttpMessageException; |
|
| 17 | +use Nekland\Woketo\Exception\RuntimeException; |
|
| 18 | +use Nekland\Woketo\Exception\WebsocketException; |
|
| 19 | +use Nekland\Woketo\Http\Response; |
|
| 20 | +use Nekland\Woketo\Http\Url; |
|
| 21 | +use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 22 | +use Nekland\Woketo\Rfc6455\Frame; |
|
| 23 | +use Nekland\Woketo\Rfc6455\Handshake\ClientHandshake; |
|
| 24 | +use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 25 | +use React\EventLoop\LoopInterface; |
|
| 26 | +use React\Promise\PromiseInterface; |
|
| 27 | 27 | use React\Socket\ConnectionInterface; |
| 28 | 28 | |
| 29 | 29 | class Connection extends AbstractConnection |
@@ -11,19 +11,19 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Nekland\Woketo\Core; |
| 13 | 13 | |
| 14 | -use Nekland\Woketo\Exception\NoHandlerException; |
|
| 15 | -use Nekland\Woketo\Exception\WebsocketException; |
|
| 16 | -use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 17 | -use Nekland\Woketo\Rfc6455\Frame; |
|
| 18 | -use Nekland\Woketo\Rfc6455\Handshake\HandshakeInterface; |
|
| 19 | -use Nekland\Woketo\Rfc6455\Message; |
|
| 20 | -use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 21 | -use Nekland\Woketo\Utils\SimpleLogger; |
|
| 22 | -use Psr\Log\LoggerAwareTrait; |
|
| 23 | -use Psr\Log\LoggerInterface; |
|
| 24 | -use React\EventLoop\LoopInterface; |
|
| 25 | -use React\EventLoop\Timer\TimerInterface; |
|
| 26 | -use React\Socket\Connection; |
|
| 14 | +use Nekland\Woketo\Exception\NoHandlerException; |
|
| 15 | +use Nekland\Woketo\Exception\WebsocketException; |
|
| 16 | +use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 17 | +use Nekland\Woketo\Rfc6455\Frame; |
|
| 18 | +use Nekland\Woketo\Rfc6455\Handshake\HandshakeInterface; |
|
| 19 | +use Nekland\Woketo\Rfc6455\Message; |
|
| 20 | +use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 21 | +use Nekland\Woketo\Utils\SimpleLogger; |
|
| 22 | +use Psr\Log\LoggerAwareTrait; |
|
| 23 | +use Psr\Log\LoggerInterface; |
|
| 24 | +use React\EventLoop\LoopInterface; |
|
| 25 | +use React\EventLoop\Timer\TimerInterface; |
|
| 26 | +use React\Socket\Connection; |
|
| 27 | 27 | use React\Socket\ConnectionInterface; |
| 28 | 28 | |
| 29 | 29 | abstract class AbstractConnection |