We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 073b992 commit 8bfb99dCopy full SHA for 8bfb99d
example/debug-proxy.hs
example/simple-proxy.hs
@@ -1,5 +1,5 @@
1
2
-import Network.HTTP.Proxy
+import Network.HTTP.Proxy (runProxy)
3
4
-- The simplest possible HTTP/HTTPS proxy.
5
main :: IO ()
http-proxy.cabal
@@ -145,3 +145,12 @@ test-suite test-io
145
, wai-conduit
146
, warp
147
, warp-tls
148
+
149
+executable simple-proxy
150
+ default-language: Haskell2010
151
+ ghc-options: -Wall -fwarn-tabs -threaded -rtsopts "-with-rtsopts=-H1m -K1m"
152
+ hs-source-dirs: example
153
+ main-is: simple-proxy.hs
154
155
+ build-depends: base
156
+ , http-proxy
0 commit comments