Skip to content

Moved to readers and writers

Compare
Choose a tag to compare
@wdalmut wdalmut released this 10 Oct 07:00
· 20 commits to master since this release

With the 0.7.* version of this library we cannot read and write data using different network adapters. In particular write using UDP/IP and read data back with HTTP. For that reason we move the library removing network adapters and move the project to readers and writers

With this approach you can combine different techniques for reads and writes.

$reader = new Http\Reader($http, $httpOptions);
$writer = new Udp\Writer($udpOptions);
$client = new Client($reader, $writer);

$client->mark(...); // Use UDP/IP support
$client->query("SELECT * FROM my_serie"); // Use HTTP support

BC BREAK

  • Client constructor (Readers and Writers)