Skip to content

tailrecursion/ring-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ring-proxy

HTTP proxy ring middleware for Clojure web applications.

Dependency

[tailrecursion/ring-proxy "3.0.0-SNAPSHOT"]

Example

Assuming your application's route handler is defined as routes, you may add a proxied route with something like the following:

(ns your-ns
  (:require [tailrecursion.ring-proxy :refer [wrap-proxy]]))

(def app
  (-> routes
      (wrap-proxy "/remote" "http://some.remote.server/remote")))

License

Copyright © 2013 Alan Dipert and Micha Niskin

Distributed under the Eclipse Public License, the same as Clojure.

About

HTTP proxy ring middleware for Clojure web applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published