mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
preliminary support for wisp v2
This commit is contained in:
parent
98072be3d4
commit
ef5ed52e71
18 changed files with 772 additions and 206 deletions
|
@ -106,7 +106,7 @@ impl EpxWebSocket {
|
|||
break;
|
||||
}
|
||||
// ping/pong/continue
|
||||
_ => {},
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -115,7 +115,13 @@ impl EpxWebSocket {
|
|||
.call0(&Object::default())
|
||||
.replace_err("Failed to call onopen")?;
|
||||
|
||||
Ok(Self { tx, onerror, origin, protocols, url: url.to_string() })
|
||||
Ok(Self {
|
||||
tx,
|
||||
onerror,
|
||||
origin,
|
||||
protocols,
|
||||
url: url.to_string(),
|
||||
})
|
||||
}
|
||||
.await;
|
||||
if let Err(ret) = ret {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue