Net::MQ...:Connect(3)
β¨ NAME β¨
okay so this is the Net::MQ...:Connect(3) page, bestie β from the User Contributed Perl Documentation collection, no cap. The actual module is Net::MQTT::Message::Connect, and it's a Perl module to represent an MQTT Connect message. π
π VERSION π
version 1.163170 β that's the version, periodt. π
π SYNOPSIS π
It gets instantiated by Net::MQTT::Message:
# instantiated by Net::MQTT::Message
π¦ DESCRIPTION π¦
This module encapsulates a single MQTT Connection Request message. It is a specific subclass used by Net::MQTT::Message, and it should not need to be instantiated directly β let the parent module handle it, iykyk. π¦
π METHODS π
Here's the whole method lineup, bestie β every one returns a field from the MQTT Connect message. The defaults are the tea. β¨
πΈ protocol_name() πΈ
Returns the protocol name field of the MQTT Connect message. The default is "MQIsdp" β iconic. πΈ
π protocol_version() π
Returns the protocol version field of the MQTT Connect message. The default is 3. π
π«Ά user_name_flag() π«Ά
Returns the user name flag field of the MQTT Connect message. The default is true if and only if a user name is defined β literally iff, no cap. π«Ά
π password_flag() π
Returns the password flag field of the MQTT Connect message. The default is true if and only if a password is defined. π
π₯ will_retain() π₯
Returns the will retain field of the MQTT Connect message. The default is 0. π₯
β will_qos() β
Returns the will QoS field of the MQTT Connect message. The default is 0. β
π will_flag() π
Returns the will flag field of the MQTT Connect message. The default is true if and only if a will topic is defined. π
π clean_session() π
Returns the clean session flag field of the MQTT Connect message. The default is 1. π
π connect_reserved_flag() π
Returns the reserved flag field of the MQTT Connect message. The default is 0. π
π keep_alive_timer() π
Returns the keep alive timer field of the MQTT Connect message. The units are seconds. The default is 60. π
π§ client_id() π§
Returns the client identifier field of the MQTT Connect message. The default is "NetMQTTpm$$]" where $$ is the current process id. π§
π will_topic() π
Returns the will topic field of the MQTT Connect message. The default is undefined. π
π will_message() π
Returns the will message field of the MQTT Connect message. The default is undefined. π
β¨ user_name() β¨
Returns the user name field of the MQTT Connect message. The default is undefined. β¨
π password() π
Returns the password field of the MQTT Connect message. The default is undefined. π
π AUTHOR π
Mark Hindess <soft-cpan@temporalanomaly.com> β author icon, periodt. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Mark Hindess.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
okay that's the whole page, bestie β signing off with the footer tea: perl v5.42.2, 2026-02-15, page Net::MQ...:Connect(3). Slay π
β¨
π¦ where this page comes from
- alpine 3.24: perl-net-mqtt-doc 1.163170-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms