WokerTask/vendor/textalk/websocket/tests/scripts/server.accept-failed-handsh...

32 lines
612 B
JSON
Raw Permalink Normal View History

2023-12-27 14:06:33 +08:00
[
{
"function": "stream_socket_accept",
"params": [
"@mock-socket"
],
"return": "@mock-stream"
},
{
"function": "stream_socket_get_name",
"params": [
"@mock-stream"
],
"return": "127.0.0.1:12345"
},
{
"function": "stream_get_line",
"params": [
"@mock-stream",
1024,
"\r\n"
],
"return": false
},
{
"function": "get_resource_type",
"params": [
"@mock-stream"
],
"return": ""
}
]