This commit is contained in:
as2252258@163.com
2021-08-28 01:40:33 +08:00
parent fc634c94ed
commit 30e639fe69
2 changed files with 22 additions and 2 deletions
+9
View File
@@ -23,6 +23,15 @@ class Response implements ResponseInterface, \Server\ResponseInterface
const CONTENT_TYPE_XML = 'application/xml;charset=utf-8';
/**
*
*/
public function __construct()
{
$this->stream = new Stream('');
}
/**
* @param string $type
* @return $this