OpenXE/vendor/datto/json-rpc-http/examples/server.php
2021-05-21 08:49:41 +02:00

12 lines
246 B
PHP

<?php
require __DIR__ . '/../vendor/autoload.php';
use Datto\JsonRpc\Http\Examples\Evaluator;
use Datto\JsonRpc\Http\Examples\AuthenticatedServer;
$evaluator = new Evaluator();
$server = new AuthenticatedServer($evaluator);
$server->reply();