Skip to main content

encode_handshake

Function encode_handshake 

Source
pub fn encode_handshake(token: u64, tunnel_type: TunnelType) -> [u8; 9]
Expand description

编码客户端握手帧。

输出 [token: u64 BE][tunnel_type: u8] 共 9 字节。