We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ede6c50 + a557d72 commit aff2f80Copy full SHA for aff2f80
src/RequestHandlerInterface.php
@@ -6,13 +6,17 @@
6
use Psr\Http\Message\ServerRequestInterface;
7
8
/**
9
- * An HTTP request handler process a HTTP request and produces an HTTP response.
10
- * This interface defines the methods required to use the request handler.
+ * Handles a server request and produces a response.
+ *
11
+ * An HTTP request handler process an HTTP request in order to produce an
12
+ * HTTP response.
13
*/
14
interface RequestHandlerInterface
15
{
16
- * Handle the request and return a response.
17
+ * Handles a request and produces a response.
18
19
+ * May call other collaborating code to generate the response.
20
21
public function handle(ServerRequestInterface $request): ResponseInterface;
22
}
0 commit comments