1 | <?php |
||
17 | abstract class SynchronousServerApplication implements ServerApplicationInterface |
||
18 | { |
||
19 | /** |
||
20 | * @param ServerRequestInterface $request |
||
21 | * |
||
22 | * @return ResponseInterface |
||
23 | */ |
||
24 | abstract public function processRequestSynchronously(ServerRequestInterface $request) : ResponseInterface; |
||
25 | |||
26 | /** |
||
27 | * @inheritDoc |
||
28 | */ |
||
29 | public function processRequest(ServerRequestInterface $request) : ExtendedPromiseInterface |
||
39 | |||
40 | /** |
||
41 | * @inheritDoc |
||
42 | */ |
||
43 | public function processHead(array $headers, $httpMethod, $uri, $protocolVersion) |
||
46 | } |
||
47 |