NAME

AnyEvent::Stomper::Frame - Class of STOMP frame for AnyEvent::Stomper

DESCRIPTION

Class of frame for AnyEvent::Stomper. Objects of this class can be passed to callbacks.

CONSTRUCTOR

new( $command, \%headers, $body )

Creates error object.

METHODS

command( [ $command ] )

Gets command name

headers( [ $headers ] )

Gets frame headers

body( [ $body ] )

Gets frame body

decoded_body()

Gets decoded frame body.

SEE ALSO

AnyEvent::Stomper

AUTHOR

Eugene Ponizovsky, <ponizovsky@gmail.com>

Sponsored by SMS Online, <dev.opensource@sms-online.com>

COPYRIGHT AND LICENSE

Copyright (c) 2016, Eugene Ponizovsky, SMS Online. All rights reserved.

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