Why not adopt me?
NAME
Net::Async::Webservice::Common - Some common classes to write async webservice clients
VERSION
version 0.01_4
DESCRIPTION
This distribution provides a few common roles, types, and classes to help writing webservice client based on Net::Async::HTTP.
Net::Async::Webservice::Common::WithConfigFile
Allows loading constructor arguments from a file, via Config::Any.
Net::Async::Webservice::Common::WithUserAgent
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.
Net::Async::Webservice::Common::WithRequestWrapper
Provides a few methods to perform simple HTTP requests and handle failures.
Net::Async::Webservice::Common::SyncAgentWrapper
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.
Net::Async::Webservice::Common::Types
A few types, including the coercion from LWP::UserAgent-like to Net::Async::HTTP-like via Net::Async::Webservice::Common::SyncAgentWrapper.
Net::Async::Webservice::Common::Exception
A few exceptions thrown by the other packages.
AUTHOR
Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>
COPYRIGHT AND LICENSE
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.