mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-16 14:30:06 +02:00
docs(http): fix connectTimeout option in README (#3451)
This commit is contained in:
@@ -62,7 +62,7 @@ Afterwards all the plugin's APIs are available through the JavaScript guest bind
|
||||
import { fetch } from '@tauri-apps/plugin-http'
|
||||
const response = await fetch('http://localhost:3003/users/2', {
|
||||
method: 'GET',
|
||||
timeout: 30
|
||||
connectTimeout: 30
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user