Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcusramberg/mojolicious-plugin-proxy
Proxy requests to a backend url
https://github.com/marcusramberg/mojolicious-plugin-proxy
Last synced: 2 months ago
JSON representation
Proxy requests to a backend url
- Host: GitHub
- URL: https://github.com/marcusramberg/mojolicious-plugin-proxy
- Owner: marcusramberg
- Created: 2010-12-10T11:02:56.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T18:42:24.000Z (about 4 years ago)
- Last Synced: 2024-04-09T22:04:21.328Z (9 months ago)
- Language: Perl
- Homepage:
- Size: 23.4 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Mojolicious::Plugin::Proxy - Proxy requests to a backend serverSYNOPSIS
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