forked from erikd/http-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
http-proxy.cabal
98 lines (89 loc) · 3.48 KB
/
http-proxy.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Name: http-proxy
Version: 0.1.0.1
License: BSD3
License-file: LICENSE
Author: Michael Snoyman, Erik de Castro Lopo
Maintainer: [email protected]
Homepage: https://github.com/erikd/http-proxy
Bug-reports: https://github.com/erikd/http-proxy/issues
Category: Web
Build-Type: Simple
Cabal-Version: >=1.8
Stability: Experimental
Synopsis: A library for writing HTTP and HTTPS proxies
Description:
http-proxy is a library for writing HTTP and HTTPS proxies.
.
Use of the Conduit library provides file streaming via the proxy in both
directions. Memory usage of the proxy scales linearly with the number of
simultaneous connections and is independent of the size of the files being
uploaded or downloaded.
.
The Settings data type provided by the library allows the caller to supply
a functions for exception reporting and request re-writing. Eventually, this
capability will be expanded to allow optional logging, disk caching etc.
Library
Build-Depends: base >= 4 && < 5
, async >= 2.0
, blaze-builder >= 0.4
, bytestring >= 0.10
, bytestring-lexing >= 0.4
, case-insensitive >= 1.2
, conduit >= 1.2
, conduit-extra >= 1.1
, http-client >= 0.4
, http-conduit >= 2.1.7
, http-types >= 0.8
, mtl >= 2.1
, network >= 2.6
, resourcet >= 1.1
, tls >= 1.2
, text >= 1.2
, transformers >= 0.3
, wai >= 3.2
, wai-conduit >= 3.0
, warp >= 3.0
, warp-tls >= 3.0
Exposed-modules: Network.HTTP.Proxy
Other-modules: Network.HTTP.Proxy.Request
ghc-options: -Wall -fwarn-tabs
if os(windows)
Cpp-options: -DWINDOWS
Test-Suite testsuite
Type: exitcode-stdio-1.0
Main-is: Test/testsuite.hs
build-depends: base
, async
, blaze-builder
, bytestring
, bytestring-lexing
, case-insensitive
, conduit
, connection >= 0.2
, conduit-extra
, http-client
, http-conduit
, http-types
, hspec >= 2.1
, network
, QuickCheck >= 2.7
, random >= 1.1
, resourcet
, text
, vault
, wai
, wai-conduit
, warp
, warp-tls
Other-modules: Test.Gen
, Test.Request
, Test.ServerDef
, Test.TestServer
, Test.Util
, Test.Wai
ghc-options: -Wall -fwarn-tabs
if os(windows)
Cpp-options: -DWINDOWS
source-repository head
type: git
location: https://github.com/erikd/http-proxy.git