WokerTask/vendor/textalk/websocket/tests/scripts/client.connect-bad-stream.json

26 lines
526 B
JSON
Raw Permalink Normal View History

2023-12-27 14:06:33 +08:00
[
{
"function": "stream_context_create",
"params": [],
"return": "@mock-stream-context"
},
{
"function": "stream_socket_client",
"params": [
"tcp:\/\/localhost:8000",
null,
null,
5,
4,
"@mock-stream-context"
],
"return": "@mock-stream"
},
{
"function": "get_resource_type",
"params": [
"@mock-stream"
],
"return": "bad stream"
}
]