diff options
Diffstat (limited to 'tests/http/pid.php')
-rw-r--r-- | tests/http/pid.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/http/pid.php b/tests/http/pid.php new file mode 100644 index 00000000..1cc322bf --- /dev/null +++ b/tests/http/pid.php @@ -0,0 +1,11 @@ +<?php + +use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\ServerRequestInterface; + +function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface +{ + $resp->getBody()->write(getmypid()); + + return $resp; +}
\ No newline at end of file |