@@ -11,11 +11,11 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Nekland\Woketo\Core; |
| 13 | 13 | |
| 14 | -use Nekland\Woketo\Exception\WebsocketException; |
|
| 15 | -use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 16 | -use Nekland\Woketo\Rfc6455\Handshake\HandshakeInterface; |
|
| 17 | -use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 18 | -use Psr\Log\LoggerAwareTrait; |
|
| 14 | +use Nekland\Woketo\Exception\WebsocketException; |
|
| 15 | +use Nekland\Woketo\Message\MessageHandlerInterface; |
|
| 16 | +use Nekland\Woketo\Rfc6455\Handshake\HandshakeInterface; |
|
| 17 | +use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 18 | +use Psr\Log\LoggerAwareTrait; |
|
| 19 | 19 | use React\Socket\Connection; |
| 20 | 20 | |
| 21 | 21 | abstract class AbstractConnection |
@@ -11,8 +11,8 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Nekland\Woketo\Rfc6455\Handshake; |
| 13 | 13 | |
| 14 | -use Nekland\Woketo\Exception\RuntimeException; |
|
| 15 | -use Nekland\Woketo\Http\Request; |
|
| 14 | +use Nekland\Woketo\Exception\RuntimeException; |
|
| 15 | +use Nekland\Woketo\Http\Request; |
|
| 16 | 16 | use Nekland\Woketo\Http\Response; |
| 17 | 17 | |
| 18 | 18 | class ClientHandshake implements HandshakeInterface |
@@ -12,14 +12,13 @@ |
||
| 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\WebsocketException; |
|
| 18 | -use Nekland\Woketo\Http\Request; |
|
| 19 | -use Nekland\Woketo\Http\Response; |
|
| 20 | -use Nekland\Woketo\Rfc6455\Handshake\ClientHandShake; |
|
| 21 | -use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 22 | -use React\Promise\PromiseInterface; |
|
| 15 | +use Nekland\Woketo\Core\AbstractConnection; |
|
| 16 | +use Nekland\Woketo\Exception\Http\IncompleteHttpMessageException; |
|
| 17 | +use Nekland\Woketo\Http\Request; |
|
| 18 | +use Nekland\Woketo\Http\Response; |
|
| 19 | +use Nekland\Woketo\Rfc6455\Handshake\ClientHandShake; |
|
| 20 | +use Nekland\Woketo\Rfc6455\MessageProcessor; |
|
| 21 | +use React\Promise\PromiseInterface; |
|
| 23 | 22 | use React\Stream\Stream; |
| 24 | 23 | |
| 25 | 24 | class Connection extends AbstractConnection |