This commit is contained in:
2021-08-31 13:51:21 +08:00
parent a0bf0d3e66
commit 9d394fa0ff
5 changed files with 166 additions and 490 deletions
+5 -4
View File
@@ -58,10 +58,11 @@ class Http extends \Server\Abstracts\Http implements OnClose, OnConnect
}
/**
* @param $responseData
* @return \Server\ResponseInterface
*/
/**
* @param $responseData
* @return ResponseInterface
* @throws Exception
*/
private function transferToResponse($responseData): ResponseInterface
{
$interface = $this->response->withStatus(200);