NAME

Net::XRC::Response - XRC response object

SYNOPSIS

my $response = $xrc->some_method( $and, $args );

#response meta-data
my $server = $response->server;
my $timestamp = $response->server;

if ( $response->is_success ) {

  my $content = $response->content;
  #...

} else {

  my $status = $response->status; #error code
  my $error = $response->error; #error message
  #...
}

DESCRIPTION

The "Net::XRC::Response" class represents XRC responses.

BUGS

Needs better documentation.

SEE ALSO

Net::XRC, Everyone.net XRC Remote API documentation (XRC-1.0.5.html or later)

AUTHOR

Ivan Kohler <ivan-xrc@420.am>

COPYRIGHT AND LICENSE

Copyright (C) 2005 Ivan Kohler

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