Net::ST...t::Peer(3)
π Net::STOMP::Client::Peer π β Net::ST...t::Peer(3)
okay so this is the User Contributed Perl Documentation page for Net::STOMP::Client::Peer, and it's literally all about peer support for Net::STOMP::Client. bestie, the vibes are internal helper module but make it iconic. π
β¨ NAME β¨
Net::STOMP::Client::Peer β peer support for Net::STOMP::Client, periodt.
πΈ SYNOPSIS πΈ
here's the synopsis, no cap:
use Net::STOMP::Client;
$stomp = Net::STOMP::Client->new(host => "127.0.0.1", port => 61613);
...
$peer = $stomp->peer();
if ($peer) {
# we are indeed connected to a STOMP server
printf("server uri is %s\n", $peer->uri());
}
π¦ DESCRIPTION π¦
so this module is used internally by Net::STOMP::Client β before connection and also afterwards β to expose information about the STOMP server that the client is connected to. it's not the main character; it's the backstage pass, iykyk. π
π METHODS π
this module provides the following methods, fr fr:
new([OPTIONS])β returns a newNet::STOMP::Client::Peerobject (class method). new object, who dis?proto([STRING])β get the protocol.host([STRING])β get the host name or address.port([STRING])β get the port number.addr([STRING])β get the host numerical IP address.uri()β get the host URI in the form"PROTO://HOST:PORT".
π SEE ALSO π
Net::STOMP::Client. that's the whole see also, bestie. π
π«Ά AUTHOR π«Ά
Lionel Cons <http://cern.ch/lionel.cons>
Copyright (C) CERN 2010-2017
mwah π this page came from perl v5.32.1, dated 2019-07-26, and it's the Net::ST...t::Peer(3) manual page. bye bestie! ππ¦
π¦ where this page comes from
- epel 9: perl-Net-STOMP-Client 2.3-10.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms