receive-empty-read.json 590 B

1234567891011121314151617181920212223242526272829
  1. [
  2. {
  3. "function": "get_resource_type",
  4. "params": [
  5. "@mock-stream"
  6. ],
  7. "return": "stream"
  8. },
  9. {
  10. "function": "fread",
  11. "params": [],
  12. "return": ""
  13. },
  14. {
  15. "function": "stream_get_meta_data",
  16. "params": [
  17. "@mock-stream"
  18. ],
  19. "return": {
  20. "timed_out": true,
  21. "blocked": true,
  22. "eof": false,
  23. "stream_type": "tcp_socket\/ssl",
  24. "mode": "r+",
  25. "unread_bytes": 2,
  26. "seekable": false
  27. }
  28. }
  29. ]