| 1 | <?php |
||
| 20 | class WrongOpcodeHandler implements Rfc6455FrameHandlerInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The following opcode are wrong for now but may represent something in the future depending on how the spec evolves. |
||
| 24 | * https://tools.ietf.org/html/rfc6455#section-5.2 |
||
| 25 | * |
||
| 26 | * @param Message $message |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | 16 | public function supports(Message $message) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param Message $message |
||
| 36 | * @param MessageProcessor $messageProcessor |
||
| 37 | * @param ConnectionInterface $socket |
||
| 38 | * @return null|void |
||
| 39 | */ |
||
| 40 | 1 | public function process(Message $message, MessageProcessor $messageProcessor, Stream $socket) |
|
| 45 | } |
||
| 46 |