withReturnCode method
Sets the return code of the Variable Header.
Implementation
MqttConnectAckMessage withReturnCode(MqttConnectReturnCode returnCode) {
variableHeader.returnCode = returnCode;
return this;
}
Sets the return code of the Variable Header.
MqttConnectAckMessage withReturnCode(MqttConnectReturnCode returnCode) {
variableHeader.returnCode = returnCode;
return this;
}