Subversion Repositories php-qbpwcf

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 liveuser 1
<?php
2
namespace Ratchet\RFC6455\Messaging;
3
 
4
interface FrameInterface extends DataInterface {
5
    /**
6
     * Add incoming data to the frame from peer
7
     * @param string
8
     */
9
    function addBuffer($buf);
10
 
11
    /**
12
     * Is this the final frame in a fragmented message?
13
     * @return bool
14
     */
15
    function isFinal();
16
 
17
    /**
18
     * Is the payload masked?
19
     * @return bool
20
     */
21
    function isMasked();
22
 
23
    /**
24
     * @return int
25
     */
26
    function getOpcode();
27
 
28
    /**
29
     * @return int
30
     */
31
    //function getReceivedPayloadLength();
32
 
33
    /**
34
     * 32-big string
35
     * @return string
36
     */
37
    function getMaskingKey();
38
}