mxmbsocket/lib/Ratchet/SocketInterface.php
Chris Boden 7514ce8e85 Cleaning Up
Cleaned up a lot of the code
Added API documentation
Fixed some unit tests
Much cleaning left to be done
2011-10-27 19:17:38 -04:00

19 lines
289 B
PHP

<?php
namespace Ratchet;
interface SocketInterface {
/**
* @param string
* @param int
*/
function write($buffer, $length = 0);
/**
* @param string
* @param int
* @param int
*/
function recv(&$buf, $len, $flags);
function close();
}