|
NAMENet::LimeLight::Purge - LimeLight Purge Service APISYNOPSISuse Net::LimeLight::Purge; use Net::LimeLight::Purge::Request; my $req = Net::LimeLight::Purge::Request->new( shortname => 'mysite', url => 'http://cdn.mysite.com/static/images/foo.jpg' ); my $purge = Net::LimeLight::Purge->new( username => 'luxuser', password => 'luxpass' ); my $ret = $purge->create_purge_request([ $req ]); if($ret == -1) { say "Something broke!"; } else { say "Successful Request: $ret"; } METHODSusernameYour LUX username.passwordYour LUX password.proxyThe address to send SOAP requests. Defaults to "https://soap.llnw.net/PurgeFiles/PurgeService.asmx".uriThe uri to use for SOAP requests. Defaults to "http://www.llnw.com/Purge".create_purge_request(\@requests, \%notification_options)Creates a purge request from an arrayref of Net::LimeLight::Purge::Request objects. Returns the unique number assigned to the request by LimeLight. It seems that -1 indicates a failure of some type. An exception is thrown if there is some type of SOAP error.The optional second argument allows passing notification options in the request the keys are:
get_all_purge_statuses([$detail])Get the status of ALL purge requests. If a true value is passed as the only parameter then detail will be requested rather than just counts. Returns a StatusResponse object. If there are errors then an exception is thrown.passwordSet/Get the password of the LUX user.proxySet/Get the proxy address to use when communicate with the LimeLight service. This defaults to "https://soap.llnw.net/PurgeFiles/PurgeService.asmx"usernameSet/Get the username of the LUX user.uriSet/Get the URI used for this SOAP request. Defaults to "http://www.llnw.com/Purge". This is the 'namespace' element of the SOAP request, not the URI that is being communicated with. Look at "proxy" for that.AUTHORCory G Watson, "<gphat at cpan.org>"BUGSPlease report any bugs or feature requests to "bug-net-limelight-purge at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-LimeLight-Purge>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORTYou can find documentation for this module with the perldoc command.perldoc Net::LimeLight::Purge You can also look for information at:
ACKNOWLEDGEMENTSCOPYRIGHT & LICENSECopyright 2009 Cory G Watson, all rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |