Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Net::STOMP::Client::VeUsernContributed Perl DocuNet::STOMP::Client::Version(3)

NAME
       Net::STOMP::Client::Version - Version support for Net::STOMP::Client

SYNOPSIS
	 use Net::STOMP::Client;
	 $stomp	= Net::STOMP::Client->new(host => "127.0.0.1", port => 61613);
	 ...
	 # can change the acceptable versions only _before_ connect()
	 $stomp->accept_version([ "1.1", "1.2" ]);
	 ...
	 $stomp->connect();
	 ...
	 # can get the negotiated version only _after_ connect()
	 printf("using STOMP %s\n", $stomp->version());

DESCRIPTION
       This module handles STOMP protocol version negotiation. It is used
       internally by Net::STOMP::Client	and should not be directly used
       elsewhere.

METHODS
       This module provides the	following methods to Net::STOMP::Client:

       accept_version([VALUE])
	   get/set the list of acceptable STOMP	protocol versions; the given
	   value can either be undef (meaning all supported versions) or a
	   single version or an	array reference	for multiple versions

       version([STRING])
	   get the negotiated STOMP protocol version

SUPPORTED VERSIONS
       Net::STOMP::Client supports the versions	1.0 (see
       <http://stomp.github.com/stomp-specification-1.0.html>),	1.1 (see
       <http://stomp.github.com/stomp-specification-1.1.html>) and 1.2 (see
       <http://stomp.github.com/stomp-specification-1.2.html>) of the STOMP
       protocol.

SEE ALSO
       Net::STOMP::Client.

AUTHOR
       Lionel Cons <http://cern.ch/lionel.cons>

       Copyright (C) CERN 2010-2017

perl v5.32.1			  2017-01-31	Net::STOMP::Client::Version(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | SUPPORTED VERSIONS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Net::STOMP::Client::Version&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help