chore(net): modified doc comments

This commit is contained in:
Serkyo 2026-07-15 18:48:21 +02:00
parent 7620c3b54e
commit bb33247f96

View file

@ -1,10 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only // SPDX-License-Identifier: AGPL-3.0-only
//! Synvael application handshake over an established QUIC connection. //! Synvael application handshake over an established QUIC connection.
//!
//! Drives the `ClientHello` -> `HandshakeAck` / `HandshakeReject` exchange and protocol-version verification on the control stream (stream 0). The QUIC/TLS handshake is completed by the transport layer before any of these functions run; the exchange here is the Synvael application handshake layered on top of it.
//!
//! The control stream `(SendStream, RecvStream)` is retained inside the returned handles ([`Connected`], [`ServerConnection`]) and is never finished after the handshake, so later concepts can reuse stream 0 for chat, commands, and disconnect.
use quinn::{Connection, Incoming, RecvStream, SendStream, VarInt}; use quinn::{Connection, Incoming, RecvStream, SendStream, VarInt};
use shared::protocol::{ use shared::protocol::{