File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ module Node.HTTP.Client
13
13
, path
14
14
, headers
15
15
, auth
16
+ , key
17
+ , cert
18
+ , rejectUnauthorized
16
19
, family
17
20
, request
18
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
+
84
99
-- | IP address family to use when resolving `hostname`.
85
100
-- | Valid values are `IPV6` and `IPV4`
86
101
family :: Option RequestOptions RequestFamily
You can’t perform that action at this time.
0 commit comments