|
|
|
@ -88,18 +88,18 @@ export interface ClientOptions {
|
|
|
|
|
* Configuration for dangerous settings on the client such as disabling SSL verification.
|
|
|
|
|
*/
|
|
|
|
|
danger?: DangerousSettings
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
/**
|
|
|
|
|
* Configuration for dangerous settings on the client such as disabling SSL verification.
|
|
|
|
|
*
|
|
|
|
|
* @since 2.2.0
|
|
|
|
|
* @since 2.3.0
|
|
|
|
|
*/
|
|
|
|
|
export interface DangerousSettings {
|
|
|
|
|
export interface DangerousSettings {
|
|
|
|
|
/**
|
|
|
|
|
* Disables SSL verification.
|
|
|
|
|
*/
|
|
|
|
|
acceptInvalidCerts?: boolean,
|
|
|
|
|
acceptInvalidCerts?: boolean
|
|
|
|
|
/**
|
|
|
|
|
* Disables hostname verification.
|
|
|
|
|
*/
|
|
|
|
|