File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -84,26 +84,26 @@ export interface ClientOptions {
84
84
* Configuration of a proxy that a Client should pass requests to.
85
85
*/
86
86
proxy ?: Proxy
87
- /**
87
+ /**
88
88
* Configuration for dangerous settings on the client such as disabling SSL verification.
89
89
*/
90
- danger ?: DangerousSettings
91
- }
92
-
90
+ danger ?: DangerousSettings
91
+ }
92
+
93
+ /**
94
+ * Configuration for dangerous settings on the client such as disabling SSL verification.
95
+ *
96
+ * @since 2.3.0
97
+ */
98
+ export interface DangerousSettings {
93
99
/**
94
- * Configuration for dangerous settings on the client such as disabling SSL verification.
95
- *
96
- * @since 2.2.0
100
+ * Disables SSL verification.
101
+ */
102
+ acceptInvalidCerts ?: boolean
103
+ /**
104
+ * Disables hostname verification.
97
105
*/
98
- export interface DangerousSettings {
99
- /**
100
- * Disables SSL verification.
101
- */
102
- acceptInvalidCerts ?: boolean ,
103
- /**
104
- * Disables hostname verification.
105
- */
106
- acceptInvalidHostnames ?: boolean
106
+ acceptInvalidHostnames ?: boolean
107
107
}
108
108
109
109
const ERROR_REQUEST_CANCELLED = 'Request canceled'
You can’t perform that action at this time.
0 commit comments