![]() |
![]()
| ![]() |
![]()
NAMENet::STOMP::Client::Version - Version support for Net::STOMP::Client SYNOPSISuse 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()); DESCRIPTIONThis module handles STOMP protocol version negotiation. It is used internally by Net::STOMP::Client and should not be directly used elsewhere. METHODSThis module provides the following methods to Net::STOMP::Client:
SUPPORTED VERSIONSNet::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 ALSONet::STOMP::Client. AUTHORLionel Cons <http://cern.ch/lionel.cons> Copyright (C) CERN 2010-2021
|