run prettier on http *.ts files

pull/2204/head
diamonddrake 7 months ago
parent ad155a2339
commit 084f996856
No known key found for this signature in database
GPG Key ID: 223280FC2DB802DA

@ -84,26 +84,26 @@ export interface ClientOptions {
* Configuration of a proxy that a Client should pass requests to. * Configuration of a proxy that a Client should pass requests to.
*/ */
proxy?: Proxy proxy?: Proxy
/** /**
* Configuration for dangerous settings on the client such as disabling SSL verification. * Configuration for dangerous settings on the client such as disabling SSL verification.
*/ */
danger?: DangerousSettings danger?: DangerousSettings
} }
/**
* Configuration for dangerous settings on the client such as disabling SSL verification.
*
* @since 2.3.0
*/
export interface DangerousSettings {
/** /**
* Configuration for dangerous settings on the client such as disabling SSL verification. * Disables SSL verification.
* */
* @since 2.2.0 acceptInvalidCerts?: boolean
/**
* Disables hostname verification.
*/ */
export interface DangerousSettings { acceptInvalidHostnames?: boolean
/**
* Disables SSL verification.
*/
acceptInvalidCerts?: boolean,
/**
* Disables hostname verification.
*/
acceptInvalidHostnames?: boolean
} }
const ERROR_REQUEST_CANCELLED = 'Request canceled' const ERROR_REQUEST_CANCELLED = 'Request canceled'

Loading…
Cancel
Save