mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
aquatic_ws: network: use HandshakeMachine::new in Connection
This commit is contained in:
parent
420dcbc717
commit
0eb4039b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ impl Connection {
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
valid_until,
|
valid_until,
|
||||||
inner: Either::Right(HandshakeMachine::TcpStream(tcp_stream))
|
inner: Either::Right(HandshakeMachine::new(tcp_stream))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue