Net::Async::Webservice::Common::SyncAgentWrapper - minimal wrapper to adapt a sync UA
This class wraps an instance of LWP::UserAgent (or something that looks like it) to allow it to be used as if it were a Net::Async::HTTP. It is very limited at the moment, please read all of this document and, if you need more power, submit a bug request.
An instance of this class will be automatically created if you pass a LWP::UserAgent (or something that looks like it) to the constructor for a class doing Net::Async::Webservice::Common::WithUserAgent.
The actual user agent instance.
port =>int or string
uri =>URI or string
content =>string or arrayref
options with keys of the form
SSL_* will be set via the
if the underlying user agent supports it.
$ua->GET( $uri, %args ) ==> $response
$ua->HEAD( $uri, %args ) ==> $response
$ua->POST( $uri, $content, %args ) ==> $response
Convenient wrappers for using the
POST methods with a
URI object and few if any other arguments, returning a
Please check the documentation of "do_request" for the values you can usefully pass in
Gianni Ceccarelli <firstname.lastname@example.org>
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.