|
NAMEMetaCPAN::Client::Role::HasUA - Role for supporting user-agent attribute VERSIONversion 2.033000 ATTRIBUTESuamy $mcpan = MetaCPAN::Client->new( ua => HTTP::Tiny->new(...) ); The user agent object for running requests. It must provide an interface that matches HTTP::Tiny. Explicitly:
Default: HTTP::Tiny, ua_args my $mcpan = MetaCPAN::Client->new(
ua_args => [ agent => 'MyAgent' ],
);
Arguments sent to the user agent. Default: user agent string: MetaCPAN::Client/$version. AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Sawyer X. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|