<?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 */ function onMessage(ConnectionInterface $from, $msg); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Http | Folder | 0755 |
|
|
Server | Folder | 0755 |
|
|
Session | Folder | 0755 |
|
|
Wamp | Folder | 0755 |
|
|
WebSocket | Folder | 0755 |
|
|
AbstractConnectionDecorator.php | File | 979 B | 0644 |
|
App.php | File | 5.15 KB | 0644 |
|
ComponentInterface.php | File | 1.21 KB | 0644 |
|
ConnectionInterface.php | File | 516 B | 0644 |
|
MessageComponentInterface.php | File | 111 B | 0644 |
|
MessageInterface.php | File | 402 B | 0644 |
|