Net::Azure::EventHubs::Response - A Response 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; my $json_data = $res->as_hashref;
Net::Azure::EventHubs::Response is a response class for Net::Azure::EventHubs.
It inherits HTTP::Response.
my $json_data = $res->as_hashref;
Return a content data as hashref when content type is 'application/json'. Otherwise, undef is returned.
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.