Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Plack::Middleware::ProUserCContributed PerPlack::Middleware::Proxy::Connect(3)

NAME
       Plack::Middleware::Proxy::Connect - Handles the CONNECT method.

SYNOPSIS
	 use Plack::Builder;
	 use Plack::App::Proxy;

	 builder {
	     enable "Proxy::Connect";
	     enable sub	{
		 my $app = shift;
		 return	sub {
		     my	$env = shift;
		     ($env->{'plack.proxy.url'}	= $env->{REQUEST_URI}) =~ s|^/||;
		     $app->( $env );
		 };
	     };
	     Plack::App::Proxy->new->to_app;
	 };

DESCRIPTION
       Plack::Middleware::Proxy::Connect handles the "CONNECT" method, like
       mod_proxy's "AllowCONNECT" option.

       Plack::Middleware::Proxy::Connect runs on servers supporting psgix.io;
       Twiggy, Plack::Server::Coro, and	so on.

AUTHOR
       Masahiro	Honma <hiratara@cpan.org>

SEE ALSO
       Plack::App::Proxy

perl v5.24.1			  2012-10-Plack::Middleware::Proxy::Connect(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Plack::Middleware::Proxy::Connect&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help