Revert "remove websocket support try 2"

This reverts commit 785cc286c9.
This commit is contained in:
Toshit Chawda 2024-11-09 14:33:43 -08:00
parent 388b17d923
commit 7362d512b9
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
4 changed files with 272 additions and 72 deletions

View file

@ -332,12 +332,12 @@ import initEpoxy, { EpoxyClient, EpoxyClientOptions, EpoxyHandlers, info as epox
console.time();
let resp = await epoxy_client.fetch(test_url);
console.log(resp, resp.rawHeaders);
log(await resp.text());
log(await resp.arrayBuffer());
console.timeEnd();
}
log("done");
} catch (err) {
console.error(err);
log(err);
log(err.stack);
}
})();