Subversion Repositories php-qbpwcf

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 liveuser 1
<?php
2
namespace Ratchet;
3
 
4
/**
5
 * The version of Ratchet being used
6
 * @var string
7
 */
8
const VERSION = 'Ratchet/0.4.3';
9
 
10
/**
11
 * A proxy object representing a connection to the application
12
 * This acts as a container to store data (in memory) about the connection
13
 */
14
interface ConnectionInterface {
15
    /**
16
     * Send data to the connection
17
     * @param  string $data
18
     * @return \Ratchet\ConnectionInterface
19
     */
20
    function send($data);
21
 
22
    /**
23
     * Close the connection
24
     */
25
    function close();
26
}