Net::Async::Webservice::Common - Some common classes to write async webservice clients
version 1.0.2
This distribution provides a few common roles, types, and classes to help writing webservice client based on Net::Async::HTTP.
Allows loading constructor arguments from a file, via Config::Any.
Provides a user_agent attribute, guaranteeing that its value behaves like Net::Async::HTTP. If a LWP::UserAgent-like object is passed in, Net::Async::Webservice::Common::SyncAgentWrapper is used to wrap it.
user_agent
Provides a few methods to perform simple HTTP requests and handle failures.
Wraps a LWP::UserAgent-like object in a Net::Async::HTTP-like interface. Does not support everything that Net::Async::HTTP can do, but it should be enough for most uses.
A few types, including the coercion from LWP::UserAgent-like to Net::Async::HTTP-like via Net::Async::Webservice::Common::SyncAgentWrapper.
A few exceptions thrown by the other packages.
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
This software is copyright (c) 2014 by Net-a-porter.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Async::Webservice::Common, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::Webservice::Common
CPAN shell
perl -MCPAN -e shell install Net::Async::Webservice::Common
For more information on module installation, please visit the detailed CPAN module installation guide.