
Created parent interface for messages and frames Created Hixie Connection Applied updated interfaces to Hixie versions Removed __toString on msgs/frames since there could be 2-3 types returned
15 lines
287 B
PHP
15 lines
287 B
PHP
<?php
|
|
namespace Ratchet\WebSocket\Version;
|
|
|
|
interface MessageInterface extends DataInterface {
|
|
/**
|
|
* @param FragmentInterface
|
|
* @return MessageInterface
|
|
*/
|
|
function addFrame(FrameInterface $fragment);
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
function getOpcode();
|
|
} |