docs: data messages documentation
This commit is contained in:
parent
c61b6021db
commit
df5741224f
10 changed files with 24 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue