mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement WebSocket#onmessage.
This commit is contained in:
parent
2a97ab36f7
commit
352229b6fa
28 changed files with 10 additions and 151 deletions
|
@ -224,6 +224,7 @@ impl<'a> WebSocketMethods for &'a WebSocket {
|
|||
event_handler!(open, GetOnopen, SetOnopen);
|
||||
event_handler!(close, GetOnclose, SetOnclose);
|
||||
event_handler!(error, GetOnerror, SetOnerror);
|
||||
event_handler!(message, GetOnmessage, SetOnmessage);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-websocket-url
|
||||
fn Url(self) -> DOMString {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue