HTTPサーバアプリケーション 入力:HTTPリクエスト POST /path HTTP/1.1 Host: example.com this=is&request=body 出力:HTTPレスポンス HTTP/1.1 200 OK Content-Type: text/plain This is the response body
身近な例 Server Request Handler ≒ MVC FWのControllerのアクション class MyController { public function hello(ServerRequestInterface $request) : ResponseInterface { return new JsonResponse(['hello' => 'world']); } }