Net::MQ...:Connect(3)

πŸ“¦ version 1.163170, in alpine 3.24

✨ 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. πŸ‘‘

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