README.md
This commit is contained in:
parent
6f18ea8431
commit
a43d8bd921
@ -43,6 +43,9 @@ use Web3\Providers\HttpProvider;
|
||||
use Web3\RequestManagers\HttpRequestManager;
|
||||
|
||||
$web3 = new Web3(new HttpProvider(new HttpRequestManager('http://localhost:8545')));
|
||||
|
||||
// timeout
|
||||
$web3 = new Web3(new HttpProvider(new HttpRequestManager('http://localhost:8545', 0.1)));
|
||||
```
|
||||
|
||||
### You can use callback to each rpc call:
|
||||
|
Loading…
Reference in New Issue
Block a user