Plack::Middleware::Proxy::Connect(3pm)

Plack::Middleware::Proxy::Connect3pm

Handles the connect method.

Usage

  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;
  };

Overview

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–10
  2. 11–13

Author

Masahiro Honma <[email protected]>

From libplack-app-proxy-perl 0.29-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.