| Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 Path : /home/devsafetybis/artem.dev.safetybis.com/vendor/ratchet/rfc6455/src/Messaging/ |
| Current File : /home/devsafetybis/artem.dev.safetybis.com/vendor/ratchet/rfc6455/src/Messaging/DataInterface.php |
<?php
namespace Ratchet\RFC6455\Messaging;
interface DataInterface {
/**
* Determine if the message is complete or still fragmented
* @return bool
*/
function isCoalesced();
/**
* Get the number of bytes the payload is set to be
* @return int
*/
function getPayloadLength();
/**
* Get the payload (message) sent from peer
* @return string
*/
function getPayload();
/**
* Get raw contents of the message
* @return string
*/
function getContents();
/**
* Should return the unmasked payload received from peer
* @return string
*/
function __toString();
}