mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +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 {
|
||||
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