diff options
author | Guilherme Gonçalves <ggoncalves@google.com> | 2022-12-31 10:37:10 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-02 14:41:34 +0100 |
commit | 230c0b34d4d87f4f7dc240d1e2aa236dd7b31399 (patch) | |
tree | f8b96ce4b0fe04aa8ad781730fed18bdbbf4a28a /Userland/Services/WebSocket/WebSocketServer.ipc | |
parent | 9115e99e4b6e7f7f3624f4a12160d9859c30bbd3 (diff) | |
download | serenity-230c0b34d4d87f4f7dc240d1e2aa236dd7b31399.zip |
LibWeb+LibWebSocket: DOM WebSocket subprotocol support
This adds support for WebSocket subprotocols to WebSocket DOM
objects, with some necessary plumbing to LibWebSocket and its
clients.
See the associated pull request for how this was tested.
Diffstat (limited to 'Userland/Services/WebSocket/WebSocketServer.ipc')
-rw-r--r-- | Userland/Services/WebSocket/WebSocketServer.ipc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebSocket/WebSocketServer.ipc b/Userland/Services/WebSocket/WebSocketServer.ipc index d0dfcf6b25..5b5bc7aa8b 100644 --- a/Userland/Services/WebSocket/WebSocketServer.ipc +++ b/Userland/Services/WebSocket/WebSocketServer.ipc @@ -5,6 +5,7 @@ endpoint WebSocketServer // Connection API connect(URL url, DeprecatedString origin, Vector<DeprecatedString> protocols, Vector<DeprecatedString> extensions, IPC::Dictionary additional_request_headers) => (i32 connection_id) ready_state(i32 connection_id) => (u32 ready_state) + subprotocol_in_use(i32 connection_id) => (DeprecatedString subprotocol_in_use) send(i32 connection_id, bool is_text, ByteBuffer data) =| close(i32 connection_id, u16 code, DeprecatedString reason) =| |