44 lines
858 B
JSON
44 lines
858 B
JSON
[
|
|
{
|
|
"function": "get_resource_type",
|
|
"params": [
|
|
"@mock-stream"
|
|
],
|
|
"return": "stream"
|
|
},
|
|
{
|
|
"function": "fwrite",
|
|
"params": [
|
|
"@mock-stream"
|
|
],
|
|
"return": false
|
|
},
|
|
{
|
|
"function": "get_resource_type",
|
|
"params": [
|
|
"@mock-stream"
|
|
],
|
|
"return": "stream"
|
|
},
|
|
{
|
|
"function": "stream_get_meta_data",
|
|
"params": [
|
|
"@mock-stream"
|
|
],
|
|
"return": {
|
|
"timed_out": true,
|
|
"blocked": true,
|
|
"eof": false,
|
|
"stream_type": "tcp_socket\/ssl",
|
|
"mode": "r+",
|
|
"unread_bytes": 2,
|
|
"seekable": false
|
|
}
|
|
},
|
|
{
|
|
"function": "fclose",
|
|
"params": [],
|
|
"return": true
|
|
}
|
|
]
|