Skip to content

Commit

Permalink
bugfix: method name in example
Browse files Browse the repository at this point in the history
  • Loading branch information
WeeSee authored and aldas committed Jan 13, 2019
1 parent d3ba15b commit 9fdbcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $fc3 = ReadRegistersBuilder::newReadHoldingRegisters('tcp://127.0.0.1:5022')
->build(); // returns array of 3 ReadHoldingRegistersRequest requests

// this will use PHP non-blocking stream io to recieve responses
$responses = (new NonBlockingClient(['readTimeoutSec' => 0.2]))->sendReadRequests($fc3);
$responses = (new NonBlockingClient(['readTimeoutSec' => 0.2]))->sendRequests($fc3);
print_r($responses);
```
Response structure
Expand Down

0 comments on commit 9fdbcbb

Please sign in to comment.