Name : perl-LWP-Protocol-PSGI
| |
Version : 0.11
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 16:21:49
|
Group : Development/Libraries/Perl
| Source RPM : perl-LWP-Protocol-PSGI-0.11-lp154.1.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
Summary : Override LWP\'s HTTP/HTTPS backend with your own PSGI application
|
Description :
LWP::Protocol::PSGI is a module to hijack *any* code that uses LWP::UserAgent underneath such that any HTTP or HTTPS requests can be routed to your own PSGI application.
Because it works with any code that uses LWP, you can override various WWW::*, Net::* or WebService::* modules such as WWW::Mechanize, without modifying the calling code or its internals.
use WWW::Mechanize; use LWP::Protocol::PSGI;
LWP::Protocol::PSGI->register($my_psgi_app);
my $mech = WWW::Mechanize->new; $mech->get(\"http://amazon.com/\"); # $my_psgi_app runs
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.4/noarch |