We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a1683b + a89130d commit 0fc0a5cCopy full SHA for 0fc0a5c
1 file changed
src/Node/HTTP/Client.purs
@@ -13,6 +13,9 @@ module Node.HTTP.Client
13
, path
14
, headers
15
, auth
16
+ , key
17
+ , cert
18
+ , rejectUnauthorized
19
, family
20
, request
21
, requestFromURI
@@ -81,6 +84,18 @@ headers = opt "headers"
81
84
auth :: Option RequestOptions String
82
85
auth = opt "auth"
83
86
87
+-- | Private Key
88
+key :: Option RequestOptions String
89
+key = opt "key"
90
+
91
+-- | Public x509 certificate
92
+cert :: Option RequestOptions String
93
+cert = opt "cert"
94
95
+-- | Is cert verified against CAs
96
+rejectUnauthorized :: Option RequestOptions Boolean
97
+rejectUnauthorized = opt "rejectUnauthorized"
98
99
-- | IP address family to use when resolving `hostname`.
100
-- | Valid values are `IPV6` and `IPV4`
101
family :: Option RequestOptions RequestFamily
0 commit comments