summaryrefslogtreecommitdiff
path: root/Userland/Services/WebSocket/WebSocketClient.ipc
blob: a7438d1e3f42d4ac727bfbb41af8bf30a693d361 (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, String reason, bool clean) =|

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