Rename Negotiator -> ServerNegotiator for consistence

This commit is contained in:
Chris Boden 2016-02-10 17:56:28 -05:00
parent 84db350a66
commit e75c843fc9
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ use GuzzleHttp\Psr7\Response;
* The latest version of the WebSocket protocol
* @todo Unicode: return mb_convert_encoding(pack("N",$u), mb_internal_encoding(), 'UCS-4BE');
*/
class Negotiator implements NegotiatorInterface {
class ServerNegotiator implements NegotiatorInterface {
/**
* @var \Ratchet\RFC6455\Handshake\RequestVerifier
*/

View File

@ -11,7 +11,7 @@ $socket = new \React\Socket\Server($loop);
$server = new \React\Http\Server($socket);
$closeFrameChecker = new \Ratchet\RFC6455\Messaging\CloseFrameChecker;
$negotiator = new \Ratchet\RFC6455\Handshake\Negotiator;
$negotiator = new \Ratchet\RFC6455\Handshake\ServerNegotiator;
$uException = new \UnderflowException;