
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`
21 lines
404 B
PHP
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();
|
|
} |