Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Proxy requests to a backend url

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README
README
NAME
    Mojolicious::Plugin::Proxy - Proxy requests to a backend server

SYNOPSIS
       plugin 'proxy';

       get '/foo' => sub { shift->proxy_to('http://mojolicio.us/') };

DESCRIPTION
    Proxy requests to backend URL using Mojo::Client.

METHODS
  proxy_to $url, [%options]
    Proxies the current request to $url using the Mojo::Client get method.
    supports one parameter:

    with_query_params
        If this parameter is set to 1, will get query parameters from the
        current request and proxy them to the backend.

COPYRIGHT AND LICENSE
    Copyright (C) 2008-2010, Marcus Ramberg.

    This program is free software, you can redistribute it and/or modify it
    under the terms of the Artistic License version 2.0.

SEE ALSO
    Mojolicious, Mojolicious::Lite

Something went wrong with that request. Please try again.