mxmbsocket/src/Ratchet/ConnectionInterface.php
Chris Boden 344818d0f5 [Tests] Bring up unit testing coverage
Coverage on Http and Session
Set version to 0.3-beta
Cleaned up a couple API doc things
Removed Origin code from RFC, will be moved to Http
2013-04-28 15:25:16 -04:00

26 lines
518 B
PHP

<?php
namespace Ratchet;
/**
* The version of Ratchet being used
* @var string
*/
const VERSION = 'Ratchet/0.3-beta';
/**
* A proxy object representing a connection to the application
* This acts as a container to store data (in memory) about the connection
*/
interface ConnectionInterface {
/**
* Send data to the connection
* @param string $data
* @return \Ratchet\ConnectionInterface
*/
function send($data);
/**
* Close the connection
*/
function close();
}