raw tls sockets

This commit is contained in:
Toshit Chawda 2024-02-04 00:02:21 -08:00
parent ac39d82a53
commit 54011e1f8a
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
4 changed files with 144 additions and 32 deletions

View file

@ -68,7 +68,7 @@ impl EpxWebSocket {
let (mut sender, conn) = Builder::new()
.title_case_headers(true)
.preserve_header_case(true)
.handshake::<TokioIo<EpxStream>, Empty<Bytes>>(TokioIo::new(stream))
.handshake::<TokioIo<EpxIoStream>, Empty<Bytes>>(TokioIo::new(stream))
.await?;
wasm_bindgen_futures::spawn_local(async move {