作者 karlet

feat:打印请求

... ... @@ -45,7 +45,7 @@ class SimpleServerCoroutine
'cookie' => $request->cookie ?: [],
'rawContent' => $request->rawContent() ?: ''
];
output($requestInfo);
output($requestInfo['method'], $requestInfo['path'], "GET:" . json_encode($requestInfo['get']), "POST:" . json_encode($requestInfo['post']), "rawContent:" . $requestInfo['rawContent']);
$simpleRequest = new SimpleRequest($requestInfo);
$res = call_user_func($callback, $simpleRequest);
if (empty($res)) {
... ...