mirror of
https://github.com/YGGverse/net-php.git
synced 2026-04-01 01:25:36 +00:00
add timeout attribute
This commit is contained in:
parent
a57028f609
commit
1e5b42d407
2 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ var_dump(
|
|||
|
||||
```
|
||||
var_dump(
|
||||
\Yggverse\Net\Dig::records('yo.index', ['A', 'AAAA'], &$result = [], &$error = [], $provider = null)
|
||||
\Yggverse\Net\Dig::records('yo.index', ['A', 'AAAA'], &$result = [], &$error = [], $provider = null, $timeout = 5)
|
||||
);
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue