OpenXE/vendor/datto/json-rpc-http/examples/server.php

12 lines
246 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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();