summaryrefslogtreecommitdiffstats
path: root/vendor/textalk/websocket/tests/scripts/send-broken-write.json
blob: 838c82690360e0c94033f0b8ed26f0b6e95f532e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[
    {
        "function": "get_resource_type",
        "params": [
            "@mock-stream"
        ],
        "return": "stream"
    },
    {
        "function": "fwrite",
        "params": [
            "@mock-stream"
        ],
        "return": 18
    },
    {
        "function": "get_resource_type",
        "params": [
            "@mock-stream"
        ],
        "return": "stream"
    },
    {
        "function": "stream_get_meta_data",
        "params": [
            "@mock-stream"
        ],
        "return": {
            "timed_out": false,
            "blocked": true,
            "eof": true,
            "stream_type": "tcp_socket\/ssl",
            "mode": "r+",
            "unread_bytes": 2,
            "seekable": false
        }
    },
    {
        "function": "fclose",
        "params": [],
        "return": true
    }
]