naia_shared/handshake/simple/
header.rs

1use naia_serde::SerdeInternal;
2
3#[derive(SerdeInternal, Debug, PartialEq, Eq, Clone)]
4pub enum HandshakeHeader {
5    // An initial handshake message sent by the Client to the Server
6    ClientIdentifyRequest,
7    // The Server's response to the Client's initial handshake message
8    ServerIdentifyResponse,
9    // The handshake message sent by the Client to initiate a connection
10    ClientConnectRequest,
11    // The handshake message sent by the Server, indicating that the
12    // connection has been established
13    ServerConnectResponse,
14    // Used to request a graceful Client disconnect from the Server
15    Disconnect,
16}