Cleanup
This commit is contained in:
parent
31d2618057
commit
a44254bd08
2
LICENSE
2
LICENSE
@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2011-2014 Chris Boden
|
Copyright (c) 2011-2016 Chris Boden
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
namespace Ratchet\RFC6455\Handshake;
|
namespace Ratchet\RFC6455\Handshake;
|
||||||
|
|
||||||
use Psr\Http\Message\RequestInterface;
|
use Psr\Http\Message\RequestInterface;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These are checks to ensure the client requested handshake are valid
|
* These are checks to ensure the client requested handshake are valid
|
||||||
* Verification rules come from section 4.2.1 of the RFC6455 document
|
* Verification rules come from section 4.2.1 of the RFC6455 document
|
||||||
|
@ -26,7 +26,7 @@ class MessageStreamer {
|
|||||||
/**
|
/**
|
||||||
* @var \Ratchet\RFC6455\Messaging\Protocol\Message
|
* @var \Ratchet\RFC6455\Messaging\Protocol\Message
|
||||||
*/
|
*/
|
||||||
private $messageBuffer = null;
|
private $messageBuffer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Ratchet\RFC6455\Messaging\Protocol\Frame
|
* @var \Ratchet\RFC6455\Messaging\Protocol\Frame
|
||||||
@ -229,4 +229,4 @@ class MessageStreamer {
|
|||||||
public function newCloseFrame($code) {
|
public function newCloseFrame($code) {
|
||||||
return $this->newFrame(pack('n', $code), true, Frame::OP_CLOSE);
|
return $this->newFrame(pack('n', $code), true, Frame::OP_CLOSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user