expose close reasons

This commit is contained in:
Toshit Chawda 2024-08-02 23:01:47 -07:00
parent 8cbab94955
commit 569789c2a0
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
9 changed files with 294 additions and 74 deletions

View file

@ -2,7 +2,6 @@ use std::str::FromStr;
use anyhow::Context;
use fastwebsockets::{upgrade::UpgradeFut, CloseCode, FragmentCollector};
use futures_util::io::Close;
use tokio::{
io::{AsyncBufReadExt, AsyncWriteExt, BufReader},
select,