Tauri getClient
2024-02-02 16:27 更新
getClient(:ClientOptions):Promise<Clientoptions?>
使用指定的选项创建新客户端。
例
import { getClient } from '@tauri-apps/api/http';
const client = await getClient();Since: 1.0.0
参数
| 名字 | 类型 | 描述 |
|---|---|---|
options? | ClientOptions | 客户端配置。 |
Returns: Promise<Client>
解析到客户端实例的 promise。
以上内容是否对您有帮助:

免费 AI IDE


更多建议: