mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Properly follow the spec in WebSocket::Constructor
This commit is contained in:
parent
bba0be13dd
commit
0bd54b904b
6 changed files with 112 additions and 172 deletions
|
@ -350,8 +350,7 @@ pub enum WebSocketDomAction {
|
|||
pub enum WebSocketNetworkEvent {
|
||||
ConnectionEstablished(#[serde(deserialize_with = "::hyper_serde::deserialize",
|
||||
serialize_with = "::hyper_serde::serialize")]
|
||||
header::Headers,
|
||||
Vec<String>),
|
||||
header::Headers),
|
||||
MessageReceived(MessageData),
|
||||
Close(Option<u16>, String),
|
||||
Fail,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue