mxmbsocket/src/Ratchet/ConnectionInterface.php
Chris Boden 986edd9562 [WAMP] [BCB] Publishing
BC break: Updated the `WampServerInterface` to have a strict API
Exclude and Eligible are now always arrays acting like black/white list
Changed `uri` to `topic` to be more generic with Pub/Sub
Added unit tests for `onPublish`
2012-05-19 13:30:58 -04:00

21 lines
404 B
PHP

<?php
namespace Ratchet;
const VERSION = 'Ratchet/0.1.2';
/**
* A proxy object representing a connection to the application
* This acts as a container to storm data (in memory) about the connection
*/
interface ConnectionInterface {
/**
* Send data to the connection
* @param string
*/
function send($data);
/**
* Close the connection
*/
function close();
}