The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

SYNOPSIS

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

DESCRIPTION

Net::Azure::NotificationHubs::Request is a request class for Net::Azure::NotificationHubs.

It inherits HTTP::Request.

METHODS

new

A constructor method.

agent

my $agent = LWP::UserAgent->new(...);
$req->agent($agent);

An accessor for setting/getting a LWP::UserAgent 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>