Popularity
9.0
Stable
Activity
0.8
-
52
9
24

Monthly Downloads: 177
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Web     Http    
Latest version: v0.6.0

http-reverse-proxy alternatives and similar packages

Based on the "http" category.
Alternatively, view http-reverse-proxy alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of http-reverse-proxy or a related project?

Add another 'http' Package

README

http-reverse-proxy

Provides a simple means of reverse-proxying HTTP requests. The raw approach uses the same technique as leveraged by keter, whereas the WAI approach performs full request/response parsing via WAI and http-conduit.

Raw example

The following sets up raw reverse proxying from local port 3000 to www.example.com, port 80.

{-# LANGUAGE OverloadedStrings #-}
import Network.HTTP.ReverseProxy
import Data.Conduit.Network

main :: IO ()
main = runTCPServer (serverSettings 3000 "*") $ \appData ->
    rawProxyTo
        (\_headers -> return $ Right $ ProxyDest "www.example.com" 80)
        appData