Rename Negotiator -> ServerNegotiator for consistence
This commit is contained in:
parent
84db350a66
commit
e75c843fc9
@ -7,7 +7,7 @@ use GuzzleHttp\Psr7\Response;
|
|||||||
* The latest version of the WebSocket protocol
|
* The latest version of the WebSocket protocol
|
||||||
* @todo Unicode: return mb_convert_encoding(pack("N",$u), mb_internal_encoding(), 'UCS-4BE');
|
* @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
|
* @var \Ratchet\RFC6455\Handshake\RequestVerifier
|
||||||
*/
|
*/
|
@ -11,7 +11,7 @@ $socket = new \React\Socket\Server($loop);
|
|||||||
$server = new \React\Http\Server($socket);
|
$server = new \React\Http\Server($socket);
|
||||||
|
|
||||||
$closeFrameChecker = new \Ratchet\RFC6455\Messaging\CloseFrameChecker;
|
$closeFrameChecker = new \Ratchet\RFC6455\Messaging\CloseFrameChecker;
|
||||||
$negotiator = new \Ratchet\RFC6455\Handshake\Negotiator;
|
$negotiator = new \Ratchet\RFC6455\Handshake\ServerNegotiator;
|
||||||
|
|
||||||
$uException = new \UnderflowException;
|
$uException = new \UnderflowException;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user