NAME
Net::Azure::NotificationHubs::Request - A Request 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;
DESCRIPTION
Net::Azure::NotificationHubs::Request is a request class for Net::Azure::NotificationHubs.
METHODS
new
A constructor method.
agent
my $agent = HTTP::Tiny->new(...);
$req->agent($agent);
An accessor for setting/getting a HTTP::Tiny object
do
my $res = $req->do;
Do itself as http/https request with agent. Then returns a response object.
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>