Net::Azure::EventHubs::Request - A Request Class for Net::Azure::EventHubs
use Net::Azure::EventHubs::Request; use LWP::UserAgent; my $req = Net::Azure::EventHubs::Request->new(GET => 'http://...'); $req->agent(LWP::UserAgent->new); my $res = $req->do;
Net::Azure::EventHubs::Request is a request class for Net::Azure::EventHubs.
It inherits HTTP::Request.
A constructor method.
my $agent = LWP::UserAgent->new(...); $req->agent($agent);
An accessor for setting/getting a LWP::UserAgent object
my $res = $req->do;
Do itself as http/https request with agent. Then returns a response object.
Copyright (C) ytnobody.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ytnobody <ytnobody@gmail.com>
To install Net::Azure::EventHubs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Azure::EventHubs
CPAN shell
perl -MCPAN -e shell install Net::Azure::EventHubs
For more information on module installation, please visit the detailed CPAN module installation guide.