chore: update readme to prevent confusion on request timeout

This commit is contained in:
Sefa Ilkimen
2020-05-02 00:06:58 +02:00
parent 0bfb81c57f
commit 6009ae82f7

View File

@@ -114,7 +114,7 @@ This defaults to `urlencoded`. You can also override the default content type he
:warning: `multipart` depends on several Web API standards which need to be supported in your web view. Check out https://github.com/silkimen/cordova-plugin-advanced-http/wiki/Web-APIs-required-for-Multipart-requests for more info.
### setRequestTimeout
Set how long to wait for a request to respond, in seconds.
Set the "read" timeout in seconds. This is the timeout interval to use when waiting for additional data.
```js
cordova.plugin.http.setRequestTimeout(5.0);