콘텐츠로 이동

ClientOptions

이 콘텐츠는 아직 번역되지 않았습니다.

Module @netwiv/api/plugins/http · Kind Interface

import { ClientOptions } from '@netwiv/api/plugins/http';

Options to configure the Rust client used to make fetch requests

connectTimeout?: number | undefined

Timeout in milliseconds

danger?: DangerousSettings | undefined

Configuration for dangerous settings on the client such as disabling SSL verification.

maxRedirections?: number | undefined

Defines the maximum number of redirects the client should follow. If set to 0, no redirects will be followed.

proxy?: Proxy | undefined

Configuration of a proxy that a Client should pass requests to.

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/plugin-http@2.6.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.