NAME
Net::OpenSocial::Client::Protocol - Protocol base class
SYNOPSIS
package ConcreteProtocol;
use Any::Moose;
exnteds 'Net::OpenSocial::Client::Protocol';
override 'execute' => sub {
...
};
DESCRIPTION
Protocol base class.
METHODS
formatter
Formatter concrete class object. See Net::OpenSocial::Client::Formatter
request_builder
HTTPRequestBuilder concrete class object. See Net::OpenSocial::Client::Protocol::HTTPRequestBuilder
agent
HTTP Agent class object. Set LWP::UserAgent object by default.
execute($container, $requests)
Execute a protocol, and returns a Net::OpenSocial::Client::ResultSet object or nothing
my $result_set = $protocol->execute($container, $requests)
or die $protocol->errstr;
SEE ALSO
Net::OpenSocial::Client::Protocol::REST Net::OpenSocial::Client::Protocol::RPC Net::OpenSocial::Client::Protocol::Builder
AUTHOR
Lyo Kato, <lyo.kato@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Lyo Kato
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.