D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
vendor
/
plesk
/
ratchetphp
/
src
/
Ratchet
/
Filename :
MessageInterface.php
back
Copy
<?php namespace Ratchet; interface MessageInterface { /** * Triggered when a client sends data through the socket * @param \Ratchet\ConnectionInterface $from The socket/connection that sent the message to your application * @param string $msg The message received * @throws \Exception */ public function onMessage(ConnectionInterface $from, $msg); }