diff --git a/README.md b/README.md index f85fe66..c411f40 100644 --- a/README.md +++ b/README.md @@ -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: