mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
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.
This commit is contained in:
parent
9115e99e4b
commit
230c0b34d4
19 changed files with 107 additions and 34 deletions
|
@ -5,8 +5,7 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
interface WebSocket : EventTarget {
|
||||
|
||||
// FIXME: A second "protocols" argument should be added once supported
|
||||
constructor(USVString url);
|
||||
constructor(USVString url, optional (DOMString or sequence<DOMString>) protocols);
|
||||
|
||||
readonly attribute USVString url;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue