Super simple synchronous socket stream client
$options = [
'connectionTimeout' => 30, // Default value
'streamTimeout' => 30, // Default value
];
/**
* @throws MondayFactory\SynchronousSocketClient\Exception\ConnectionException
*/
$connection = MondayFactory\SynchronousSocketClient\Connection::factory('tcp://my.super.server:12345', $options);
$response = $connection->sendMessage('{"method": "ping"}');
echo $response;
$connection->close();