mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
ws close code and reason, ws headers
This commit is contained in:
parent
cef912f86b
commit
0aec6e563c
6 changed files with 23 additions and 10 deletions
|
@ -245,8 +245,9 @@ impl EpoxyClient {
|
|||
handlers: EpoxyHandlers,
|
||||
url: String,
|
||||
protocols: Vec<String>,
|
||||
headers: JsValue,
|
||||
) -> Result<EpoxyWebSocket, EpoxyError> {
|
||||
EpoxyWebSocket::connect(self, handlers, url, protocols).await
|
||||
EpoxyWebSocket::connect(self, handlers, url, protocols, headers).await
|
||||
}
|
||||
|
||||
pub async fn connect_tcp(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue