docs: data messages documentation

This commit is contained in:
Jindřich Moravec 2023-12-31 19:03:10 +01:00
parent c61b6021db
commit df5741224f
10 changed files with 24 additions and 13 deletions

View file

@ -9,8 +9,8 @@ pub struct HandshakeRequest {
impl HandshakeRequest {
/// Creates a new `HandshakeRequest` with the specified version.
/// Expected `version` is 196608 (3.0).
/// Creates a new `HandshakeRequest` with the specified protocol version.
/// Expected `version` is `196608` for the 3.0.
pub fn new(version: i32) -> Self {
Self {
version,