Properly follow the spec in WebSocket::Constructor

This commit is contained in:
Anthony Ramine 2017-03-23 17:02:52 +01:00
parent bba0be13dd
commit 0bd54b904b
6 changed files with 112 additions and 172 deletions

View file

@ -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,