Struct ntex_mqtt::v5::HandshakeAck [−][src]
pub struct HandshakeAck<Io, St> { /* fields omitted */ }
Expand description
Handshake ack message
Implementations
Set idle keep-alive for the connection in seconds.
This method sets server_keepalive_sec
property for ConnectAck
response packet.
By default idle keep-alive is set to 30 seconds. Panics if timeout is 0
.
Set read/write buffer sizes
By default max buffer size is 4kb for both read and write buffer, Min size is 256 bytes.
Access to ConnectAck packet