summaryrefslogtreecommitdiff
path: root/Userland/Services/WebSocket/WebSocketClient.ipc
blob: 838b26f3cf47f8c0934cf74750e8cacbebfa14be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <AK/URL.h>

endpoint WebSocketClient
{
    // Connection API
    connected(i32 connection_id) =|
    received(i32 connection_id, bool is_text, ByteBuffer data) =|
    errored(i32 connection_id, i32 message) =|
    closed(i32 connection_id, u16 code, DeprecatedString reason, bool clean) =|

    // Certificate requests
    certificate_requested(i32 connection_id) =|
}