mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-26 21:41:48 +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'
|
import { fetch } from '@tauri-apps/plugin-http'
|
||||||
const response = await fetch('http://localhost:3003/users/2', {
|
const response = await fetch('http://localhost:3003/users/2', {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
timeout: 30
|
connectTimeout: 30
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user