GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Stomp::Frame(3) User Contributed Perl Documentation Net::Stomp::Frame(3)

Net::Stomp::Frame - A STOMP Frame

  use Net::Stomp::Frame;
  my $frame = Net::Stomp::Frame->new( {
    command => $command,
    headers => $headers,
    body    => $body,
  } );
  my $frame  = Net::Stomp::Frame->parse($string);
  my $string = $frame->as_string;

This module encapulates a Stomp frame.

A Stomp frame consists of a command, a series of headers and a body.

For details on the protocol see <https://stomp.github.io/>.

Create a new Net::Stomp::Frame object:

  my $frame = Net::Stomp::Frame->new( {
    command => $command,
    headers => $headers,
    body    => $body,
  } );

Create a new Net::Somp::Frame given a string containing the serialised frame:

  my $frame  = Net::Stomp::Frame->parse($string);

Create a string containing the serialised frame representing the frame:

  my $string = $frame->as_string;

Get or set the frame command.

Get or set the frame body.

Get or set the frame headers, as a hashref. All following methods are just shortcuts into this hashref.

Get or set the "destination" header.

Get or set the "content-type" header.

Get or set the "content-length" header.

Get or set the "exchange" header.

Get or set the "message-id" header.

Get or set the "reply-to" header.

Net::Stomp.

Leon Brocard <acme@astray.com>.

Gianni Ceccarelli <dakkar@thenautilus.net>

Copyright (C) 2006, Leon Brocard

This module is free software; you can redistribute it or modify it under the same terms as Perl itself.

2021-04-13 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.