The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Azure::NotificationHubs::Response - A Response Class for Net::Azure::NotificationHubs

SYNOPSIS

    use Net::Azure::NotificationHubs::Request;
    use HTTP::Tiny;
    my $req = Net::Azure::NotificationHubs::Request->new(GET => 'http://...');
    $req->agent(HTTP::Tiny->new);
    my $res = $req->do;
    my $json_data = $res->as_hashref;

DESCRIPTION

Net::Azure::NotificationHubs::Response is a response class for Net::Azure::NotificationHubs.

It inherits HTTP::Response.

METHODS

as_hashref

    my $json_data = $res->as_hashref;

Return a content data as hashref when content type is 'application/json'. Otherwise, undef is returned.

LICENSE

Copyright (C) ytnobody.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

ytnobody <ytnobody@gmail.com>