WokerTask/vendor/textalk/websocket/tests/scripts/server.close.json

56 lines
1.1 KiB
JSON

[
{
"function": "get_resource_type",
"params": [
"@mock-stream"
],
"return": "stream"
},
{
"function": "get_resource_type",
"params": [
"@mock-stream"
],
"return": "stream"
},
{
"function": "fwrite",
"params": [],
"return":12
},
{
"function": "fread",
"params": [
"@mock-stream",
2
],
"return-op": "chr-array",
"return": [136,154]
},
{
"function": "fread",
"params": [
"@mock-stream",
4
],
"return-op": "chr-array",
"return": [245,55,62,8]
},
{
"function": "fread",
"params": [
"@mock-stream",
26
],
"return-op": "chr-array",
"return": [246,223,125,100,154,68,91,40,148,84,85,102,154,64,82,109,145,80,91,108,207,23,15,56,197,7]
},
{
"function": "fclose",
"params": [
"@mock-stream"
],
"return": true
}
]