Frame.php 463 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Swoole\WebSocket;
  3. class Frame
  4. {
  5. public $fd = 0;
  6. public $data = '';
  7. public $opcode = 1;
  8. public $flags = 1;
  9. public $finish;
  10. /**
  11. * @return mixed
  12. */
  13. public function __toString()
  14. {
  15. }
  16. /**
  17. * @return mixed
  18. */
  19. public static function pack($data, $opcode = null, $flags = null)
  20. {
  21. }
  22. /**
  23. * @return mixed
  24. */
  25. public static function unpack($data)
  26. {
  27. }
  28. }