2017-03-19 02:30:36 +00:00
|
|
|
<?php
|
2017-11-17 01:23:18 +00:00
|
|
|
/** @license MIT
|
|
|
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
|
|
|
* See LICENSE and AUTHORS files for details */
|
|
|
|
|
2017-03-19 02:30:36 +00:00
|
|
|
declare(strict_types=1);
|
2021-04-14 15:17:01 +00:00
|
|
|
|
2017-03-28 04:12:12 +00:00
|
|
|
namespace JKingWeb\Arsse\REST;
|
2017-03-19 02:30:36 +00:00
|
|
|
|
2018-01-05 04:08:53 +00:00
|
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
|
|
use Psr\Http\Message\ResponseInterface;
|
|
|
|
|
2017-03-19 02:30:36 +00:00
|
|
|
interface Handler {
|
2017-08-29 14:50:31 +00:00
|
|
|
public function __construct();
|
2018-01-05 04:08:53 +00:00
|
|
|
public function dispatch(ServerRequestInterface $req): ResponseInterface;
|
2017-08-29 14:50:31 +00:00
|
|
|
}
|