mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -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
|
@ -182,8 +182,9 @@ onmessage = async (msg) => {
|
|||
);
|
||||
let ws = await epoxy_client.connect_websocket(
|
||||
handlers,
|
||||
"wss://echo.websocket.events",
|
||||
"ws://localhost:5000",
|
||||
[],
|
||||
{ "x-header": "abc" },
|
||||
);
|
||||
while (true) {
|
||||
log("sending `data`");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue